Vai al contenuto principale

BIN 5XlfJ Documentation

  • Author:

  • Version: 6

  • Description: Test Checkbox TrueAbsent with defaults - odd behavior, should not use tqUP8

  • Created: 2020-01-16

  • Modified: 2020-01-16

  • Source:

     Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='form' description='Test Checkbox TrueAbsent with defaults - odd behavior, should not use bin:tqUP8 '>
        <field name='boolean' type='xs:boolean' extra:form.control='trueAbsent'  extra:form.explanation='with no default, if checked get [true], if not checked (can submit if no html5) get [error-missing-required-value], is the classic checkbox that must be checked '/>
        <field name='booleanTrue' type='xs:boolean' extra:form.control='trueAbsent' default='true' extra:form.explanation='with default=true becomes always checked, no use'/>
        <field name='booleanFalse' type='xs:boolean' extra:form.control='trueAbsent' default='false' extra:form.explanation='with default=false becomes like a standard checkbox, no use'/>
    </complexType>