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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -