Open
Description
Looks like BaseFormField
was designed to support "locking"/"disabling" an input field:
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:
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!
Metadata
Metadata
Assignees
Labels
No labels