-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
Description of the bug
When you edit an existing list field with unlimited cardinality, the edit UI wrongly shows the cardinality number. See image below.
Steps To Reproduce
- Add a list field (any list type) to a content type
- Set the cardinality to unlimited and save
- Edit the field and open the fieldset for Global Settings
- The cardinality still shows as "Unlimited" 👍🏽 , but the cardinality number "1" is also shown 👎🏽
If you set cardinality to limited and then again to unlimited, the cardinality number is correctly hidden.
Actual behavior
The cardinality is shown.
Expected behavior
The cardinality number should not be shown when editing a list field with unlimited cardinality.
Additional information
This only affects List fields. Other fields seem to work OK.
My guess is that the js for the options widget somehow interferes with the #states javascript for the cardinality fields.
Add any other information that could help, such as:
- Backdrop CMS version: 1.33.1
- PHP version: 8.3
- Browser(s) and their versions: Chrome
Reactions are currently unavailable