Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-234

Add support for saving both as String and Boolean in CheckboxField

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Incomplete
    • Icon: Neutral Neutral
    • None
    • None
    • forms

      In info.magnolia.ui.model.field.definition.FieldDefinition we have a property 'type' that is the type the property should have in the JCR. The CheckboxField should respect this property and support saving as both String and Boolean.

      When saved as a string it should save the strings 'true' and 'false'.

      Accepted values should also include for instance 'True' and 'TRUE' as implemented in Boolean.parseBoolean().

      When implemented this should replace EnabledField in Security app.

        Acceptance criteria

              mgeljic Mikaël Geljić
              tmattsson Tobias Mattsson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD