isEnabled
Check if the property is enabled from the control rule if it exists. The data property is necessary because rules are based on a condition in relation to another field.
val property = StringProperty()
val control = Control(scope = "#/properties/string")
val enabled = property.isEnabled(control, emptyMap())
Content copied to clipboard
Return
true if the property is enabled
Parameters
control
Field contained in the com.paligot.jsonforms.kotlin.models.uischema.UiSchema.
data
field values of the form.