Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5950

Last value from one custom class appears in another

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.5.1
    • 4.4.3
    • None

    Description

      Last value from one custom class appears in another.

      Steps:

      1. Add configuration:
                    fieldtypes:
                        ezrichtext:
                            classes:
                                paragraph:
                                    choices: [ regular, special, tip_box, warning_box ]
                                    default_value: regular
                                    required: false
                                    multiple: false
                                heading2:
                                    choices: [ titre1, titre2, titre3 ]
                                    default_value: titre1
                                    required: false
                                    multiple: false
        
      2. Create e.g. Folder.
      3. Add paragraph and chose custom class.
      4. Add heading 2 and start choosing custom class.

      Actual result: Custom class last value from paragraph is displayed.
      Expected result: Custom class default value from heading 2 is displayed.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              michal.szoltysek@ibexa.co Michał Szołtysek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: