-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Profile Dropdown - without key syntax - strange behavior #6961
Comments
Branch: Develop please |
@luke- PR #6965: I don't think we should use a value as key for case when it is not defined, because it may breaks profiles which were stored before. For example, if the options were defined as:
then it works as array with autoincremented keys started with
so some profiles were strored with The PR fixes the filter issue, it can be merged, but maybe we should either add an additional info in the field hint |
@yurabakhtin Ok got it, a validator for the field (check for keys) would probably be the cleanest solution. Can you please implement this? |
@luke- I have added the validation in the commit 922b430: But I have also detected the same hint we have for the profile type "Checkbox List": and this type already uses a Value as Key when it is not defined, the code is here . |
@yurabakhtin I would prefer if we align CheckboxList and SelectList and use the same validation and saved data keys here. Then we could also allow the type to be changed in future. Would you like to customize the checkboxes and migrate the data? |
@yurabakhtin Thanks, good solution! |
Related: #6960 (comment)
Directory Loader
The text was updated successfully, but these errors were encountered: