data class NumberProperty(val title: String? = null, val format: String? = null, val description: String? = null, val readOnly: Boolean? = null, val const: JsonPrimitive? = null, val not: Property? = null, val pattern: Regex? = null, val maximum: Int? = null, val minimum: Int? = null, val default: Int? = null) : Property
A property which configure a field with a number value.
Return a Pair of Int (current value length to max length), if the property is a TextInputProperty, control options showMaxCounter is true and has a max length specified.
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.
Get the label of a field from the Property or the Control with '*' if it is required. If there is no title in the Property or label in the Control, it'll return null as label.