You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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

ParameterTypeDefaultRequiredDescription
display_truestr'True'FalseDefault value for True.
display_falsestr'False'FalseDefault value for False.

_BoolFIeldUI

ParameterTypeDefaultRequiredDescription
typeDynamicFieldTypeBOOLTrueType of the dynamic field.
bool_valueboolFalseFalseBoolean value for the field.


Configuration Example

BoolField(label='Movie Classification', field='data.adult', display_true='Adult only', display_false='Familiar')
  • No labels