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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -