Closed smlacombe closed 11 years ago
To avoid datasource changes in the view_edit page, we must disable the selectfield. But doing that resulting into a validation error because disabled fields is considerated null.
I've submited the issue here. https://bitbucket.org/simplecodes/wtforms/issue/169/selectfield-disabled-state-result-into
We could just hide the select field and add readonly textbox containing the datasource data.
It's fixed: https://github.com/smlacombe/sageo/commit/be078da51a1de423924f5177435b0907b581b5f8
To avoid datasource changes in the view_edit page, we must disable the selectfield. But doing that resulting into a validation error because disabled fields is considerated null.
I've submited the issue here. https://bitbucket.org/simplecodes/wtforms/issue/169/selectfield-disabled-state-result-into