JSON Schema Form
A form with input fields that are dynamically generated using JSON Schema and UI Schema. It supports live validation of input changes, default form data, and can display a loading indicator.
JSON Schema Form can automatically generate the necessary Schema for a specified resource database table.
Properties
Available properties for JSON Schema Form. You can write JavaScript almost anywhere in Retool to manipulate or read information about components.
The data currently entered into the form.
A schema that describes the data for this form.
The format of the JSON schema is described here.
The name of query configured to run on form submit
True if the clear after submission setting is toggled on
The value of the disable form submission setting. Set to true to disable form submission
The value of the show loading indicator setting. Set to true to show a loading indicator
The text on the form submit button
True if the make submit button full width setting is toggled on
True if the live validation setting is toggled on
Hides the submit button of the form
Events
Events are triggered by user interactions with JSON Schema Form. Use event handling to trigger queries or other actions in response to events.
A user submits the current value.
Methods
Methods for interacting with JSON Schema Form. You can write JavaScript almost anywhere in Retool and use methods to manipulate data or components.
Scrolls the canvas or parent container so that the selected component appears in the visible area.
Submit the form.
Reset and clear the form
Set the JSON Schema to generate the form