GOAL:
Create an easy checkbox api that will support data type of boolean, Array, string / number
SUGGESTION:
- checkbox without
value will be referred as boolean type.
- checkbox with
value and unique ctrlFormField name will be get their value from the value attribute.
- checkbox with more then one
ctrlFormField will be referred as Array.
CURRENT BEHAVIOR:
checkbox with asBoolean are referred as boolean otherwise they referred as Array.
GOAL:
Create an easy checkbox api that will support data type of
boolean,Array,string/numberSUGGESTION:
valuewill be referred as boolean type.valueand uniquectrlFormFieldname will be get their value from thevalueattribute.ctrlFormFieldwill be referred asArray.CURRENT BEHAVIOR:
checkbox with
asBooleanare referred as boolean otherwise they referred as Array.