You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this is not working for me even after extending the json_schema_field_to_field() method to also pass an extra locked=schema.get('locked', False) param to the FormFieldInput in:
I would try creating a FormFieldInput manually and seeing if you can get a field to lock. If so, it should be fairly easy to fix in JSON schema parsing.
Looks like
BaseFormField
was designed to support "locking"/"disabling" an input field:FastUI/src/python-fastui/fastui/components/forms.py
Line 22 in cec25c6
However, this is not working for me even after extending the
json_schema_field_to_field()
method to also pass an extralocked=schema.get('locked', False)
param to theFormFieldInput
in:FastUI/src/python-fastui/fastui/json_schema.py
Lines 182 to 189 in cec25c6
I'm not sure, but I think the problem may lie somewhere in the npm package around the below lines?
FastUI/src/npm-fastui/src/components/FormField.tsx
Lines 37 to 38 in cec25c6
Anyone knows how to fix? Thanks in advance!
The text was updated successfully, but these errors were encountered: