Skip to content
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

JSON settings use the wrong widget #4271

Open
joemull opened this issue Jun 11, 2024 · 0 comments
Open

JSON settings use the wrong widget #4271

joemull opened this issue Jun 11, 2024 · 0 comments
Labels
bug Something's not working

Comments

@joemull
Copy link
Member

joemull commented Jun 11, 2024

Problem

JSON setting fields seem to be loaded with a select input in the generated settings forms:

elif field['types'] == 'json':
self.fields[field['name']] = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple,
choices=field['choices'],
required=False)

elif object.setting.types == 'json':
self.fields[field['name']] = forms.MultipleChoiceField(widget=forms.CheckboxSelectMultiple,
choices=field['choices'],
required=False)

@joemull joemull added the bug Something's not working label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's not working
Projects
None yet
Development

No branches or pull requests

1 participant