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

Add component name to the for attribute of labels

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.0.0, 2.0-alpha1
    • None
    • frontend
    • None

    Description

      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' />

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce