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

Add support for saving both as String and Boolean in CheckboxField

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD