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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 9.3.1
    • Fix Version/s: 9.4-rc-1
    • Component/s: App Within Minutes
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: