Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Data Type

Constraint

Description

id

String

Required

Set It set the id for the select.

type

String

Required

Set It set the type of component to display if multiple select drop down will be use.be use

options:

  • multiple-select (String)

  • select (String)

options

Array

Required

Set It sets the data to display in the drop down selection.

It should consist of:

  • employee_code (String)

  • employee_bucket_code (String)

  • employee_name (String)

  • employee_profile_pic (String)

  • employee_position (String)

  • employee_email (String)

placeholder

String

Optional

Set It displays the placeholder of the select.

label

String

Optional

Set It displays the title/ label of the select.

value

Array

Required

Set It sets the value that selected in drop down.

disabled

Boolean

Optional

Set It sets if the select is should be disable or not.

required

Boolean

Optional

Set It sets to display asterisk ('*') or not.

🔹 References

Repository Link: https://gitlab.com/empowerteams/empower-inputs.git

...