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

Use static isValid to validate single variable filters

    XMLWordPrintable

Details

    • 3
    • S

    Description

      Context:
      Each variable input component currently calls a function prop called "setValid" in order to indicate to the VariableFilter component that the input inside it is valid. When we introduced the OR functionality to the variable filter, this pattern could not be used and instead another pattern is used by providing a static function to each input component called "isValid" that checks if the filter value is valid. Since this new pattern can be also applied for the single variable filter, we should use it there as well and remove the "setValid" function call everywhere.

      AT:

      • Use the static "isValid" function to validate single variable filters

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              omran.abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce