File

libs/core/dynamic-form/src/services/options-provider/options-provider.model.ts

Index

Properties

Properties

label
Type string
Description

The label to display for the list

testId (Optional)
Type string
Description

The testId of the option used for automated tools, like cypress to find the component and made independent of other config changes. If implemented, the value should be the following data-testid=VALUE_HERE With the testid in lowercase.

value
Type any
Description

The value of the option

export interface DfOptions {
  /**
   * The label to display for the list
   */
  label: string;
  /**
   * The value of the option
   */
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
  value: any;
  /**
   * The testId of the option used for automated tools, like `cypress` to find the component
   * and made independent of other config changes.
   * If implemented, the value should be the following
   *                  data-testid=VALUE_HERE
   * With the testid in lowercase.
   */
  testId?: string;
}

results matching ""

    No results matching ""