-
Notifications
You must be signed in to change notification settings - Fork 208
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
Support for readonly fields #26
Comments
This can be worked around by using |
…d as a readonly field. Re goinnn#26
A fix for field labels in the admin as decribed in my comment in issue #26
Can you explain a little bit more how you think this should be rendered when its a readonly field? I adjusted how the field is displayed in commit The only other good way I can think to display this is as a list of disabled checkboxes of all choices where the checkbox is checked for choices in the list and unchecked if not. Example: Possible choices are Beethoven, Bach, and Chopin, only Bach and Chopin are selected:
|
This would be really cool to have 👍 |
When making a MultiSelectField readonly (e.g., via de
readonly_fields
attribute), it gets rendered in the admin as arepr()
of a python list. Would be great to make it a little more user-friendly.The text was updated successfully, but these errors were encountered: