Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-824

Add component name to the for attribute of labels

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 2.0.0, 2.0-alpha1
    • None
    • 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

              Unassigned Unassigned
              sebastian.stamm Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: