Add component name to the for attribute of labels

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.0.0, 2.0-alpha1
    • Affects Version/s: None
    • Component/s: frontend
    • None

      In order to avoid accidental conflicts with duplicate names for input elements and their labels, we should add the component name to the name of the input and to the for attribute of labels.

      E.g. <label htmlFor='view' /> in the ControlPanel would become <label htmlFor='ControlPanel__view' />

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: