bind Custom
open fun <C : StringFormControl> C.bindCustom(key: KProperty1<K, Any?>, required: Boolean = false, requiredMessage: String? = null, layoutType: FormType? = null, validatorMessage: (C) -> String?? = null, validator: (C) -> Boolean?? = null): C
Bind a string control to the form panel bound to custom field type.
Return
the control itself
Parameters
key
key identifier of the control
required
determines if the control is required
required Message
optional required validation message
layout Type
style control for given form layout
validator Message
optional function returning validation message
validator
optional validation function