craft-linkfield icon indicating copy to clipboard operation
craft-linkfield copied to clipboard

Link type lightswitches don't appear at first when using Link field within a Super Table

Open jaymendoza opened this issue 2 years ago • 1 comments

Description of Issue

When creating a Link field within a Super Table, the individual link type lightswitches don't appear when turning off "Enable All".

Screen Shot 2022-05-13 at 1 27 36 PM

Steps to Reproduce the Issue

  1. Create a Super Table field
  2. Choose "Link field" as a field type within the Super Table field.
  3. Toggle the "Enable all" lightswitch to the "off" position

Expected Outcome

  • The lightswitches for all of the link types should appear so I can toggle them individually "on" or "off"

Actual Outcome

  • The lightswitches do not appear
  • If I click into one of the link types (e.g. Asset), the page will reload with a "Couldn't save field." error message.
  • After the page reload + error, the lightswitches WILL actually appear

jaymendoza avatar May 13 '22 18:05 jaymendoza

Hi @jaymendoza, thanks for reporting this. In my local installation this is working as expected. As in this case both JavaScript components of Craft and SuperTable are involved, I assume that there was an issue in either of the two libraries that has been resolved in the meantime.

Does the issue still exist for you? If so, could you check whether you see any errors in the JavaScript console of your browser?

sebastian-lenz avatar Jul 12 '22 21:07 sebastian-lenz