You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a global set with a lightswitch field and other fields that have a condition to be visible only if the lightswitch is enabled, clicking on the lightswitch in the globals section will not make the hidden fields to show. The hidden fields are visible only after saving the global set.
Steps to reproduce
create a global set containing at least one lightswitch field and another field of any type
set one or more fields' Global set Condition to be visible only if the lightswitch is enabled
save and open the new global set
enable the lightswitch
Expected behavior
The hidden fields with the Global set Condition associated to the lightswitch should become visible right after enabling the lightswitch. Disabling the lightswitch should hide the fields with the condition.
Actual behavior
When toggling the lightswitch nothing happens and the hidden fields does not become visible. Only after saving the global set the hidden fields become visible if the lightswitch has been enabled and if the condition is set to make visible fields after enabling the lightswitch.
Craft CMS version
5.4.7.1
PHP version
8.2
Operating system and version
ubuntu in wsl
Database type and version
mysql 8.0
Image driver and version
n/a
Installed plugins and versions
It's a fresh test installation without any additional plugin
The text was updated successfully, but these errors were encountered:
What happened?
Description
When creating a global set with a lightswitch field and other fields that have a condition to be visible only if the lightswitch is enabled, clicking on the lightswitch in the globals section will not make the hidden fields to show. The hidden fields are visible only after saving the global set.
Steps to reproduce
Expected behavior
The hidden fields with the Global set Condition associated to the lightswitch should become visible right after enabling the lightswitch. Disabling the lightswitch should hide the fields with the condition.
Actual behavior
When toggling the lightswitch nothing happens and the hidden fields does not become visible. Only after saving the global set the hidden fields become visible if the lightswitch has been enabled and if the condition is set to make visible fields after enabling the lightswitch.
Craft CMS version
5.4.7.1
PHP version
8.2
Operating system and version
ubuntu in wsl
Database type and version
mysql 8.0
Image driver and version
n/a
Installed plugins and versions
It's a fresh test installation without any additional plugin
The text was updated successfully, but these errors were encountered: