This field is made to display boolean values in the UI. You can configure the display_true and display_false fields to select the way you want the field to be displayed on either cases.
BoolField
Parameter | Type | Default | Required | Description |
---|
display_true | str | 'True' | False | Default value for True. |
display_false | str | 'False' | False | Default value for False. |
...
Parameter | Type | Default | Required | Description |
---|
type | DynamicFieldType | BOOL | True | Type of the dynamic field. |
bool_value | bool | False | False | Boolean value for the field. |
Configuration Example
Code Block |
---|
|
BoolField(label='Movie Classification', field='data.adult', display_true='Adult only', display_false='Familiar') |