python - flask-admin readonly collections -
i set collections on few of our models readonly. text field, easy:
form_widget_args = { 'created': { 'readonly': true } }
however, when pass same thing fields collections, fields not set readonly
. true whether collection originated on model object or if result of backref
.
not enitely sure saying, try using disabled
form_widget_args = { 'created': { 'disabled': true }
Comments
Post a Comment