BIN uDy0z Documentation
Author: Michele Vivoda
Version: 9
Description: readonly select - when a SELECT field is made form.readony=true the SELECT is disbled (no readonly attr on SELECT) and an additional HIDDEN input is created to keep the value. The [Wrong] example does not have an empty option [form.maybenull] so Red i...
Created: 2019-11-11
Modified: 2019-11-11
Source:
Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='readonly select - when a SELECT field is made form.readony=true the SELECT is disbled (no readonly attr on SELECT) and an additional HIDDEN input is created to keep the value. The [Wrong] example does not have an empty option [form.maybenull] so Red is displayed but no value is sent '> <field name='ChooseOneColorWrong' type='ColorEnum' extra:form.readonly='true'></field> <field name='ChooseOneColorWithDefault' type='ColorEnum' default='Green' extra:form.readonly='true'></field> <field name='ChooseOneColorRightWay' type='ColorEnum' extra:form.readonly='true' extra:form.maybenull='true'></field> <field name='ChooseOneColorRightWayUseIfValue' type='ColorEnum' extra:form.readonly.ifvalue='true' extra:form.maybenull='true'></field> </complexType> <simpleType name='ColorEnum' type='xs:string'> <facet name='enumeration' value='Red'/> <facet name='enumeration' value='Green'/> <facet name='enumeration' value='Blue'/> <facet name='enumeration' value='Yellow'/> <facet name='enumeration' value='Brown'/> <facet name='enumeration' value='Aqua'/> </simpleType>application/xml //efbin.org/osk/uDy0z //efbin.org/bin/uDy0z Eleusoft ARIA