Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14282

Application sheet labels use an invalid 'for' attribute in view mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 9.4-rc-1
    • 9.3.1
    • App Within Minutes
    • None
    • Unknown
    • N/A
    • N/A

    Description

      How to reproduce:

      1. Create an AWM app
      2. Add 2 properties (e.g. String and Number)
      3. Save the app and create an entry
      4. Inspect the new entry's labels while in view mode to see that they have proper for attributes with the IDs of the inputs.
      5. Save the new entry.
      6. Look at the new entry in view mode and inspect the property labels

      Expected:

      In view mode, the labels should have no for attributes since there are no inputs to link to.

      Actual:

      In view mode, the labels have a for attribute pointing to non-existent IDs and making the page fail HTML5 validation.

      Attachments

        Activity

          People

            enygma Eduard Moraru
            enygma Eduard Moraru
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: