Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Allow validation_errors to be passed into ui.form (#789)
- Fixes #694 - Tested with the following: ```python from deephaven import ui @ui.component def ui_form_validation_test(): value, set_value = ui.use_state('') validation_errors = {"identifier": "Invalid identifier"} if not value.isidentifier() else None return ui.form( ui.text_field(value=value, name="identifier", label="Enter identifier", on_change=set_value), validation_errors=validation_errors, ) form_validation_test = ui_form_validation_test() ```
- Loading branch information