Set fields read-only according to type of user, using form_widget_args, Flask, SQLAlchemy

前端 未结 0 921
无人共我
无人共我 2021-01-07 13:20

I have two types of users defined with different roles. In my model Example, I\'d like field A to be read-only for user type \'staff\', but editable for use

相关标签:
回答
  • 消灭零回复
提交回复
热议问题