Versions Compared

Key

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

...

Parameter

Data Type

Constraint

Description

id

String

Required

Set the id for the select.

type

String

Required

Set the component to display if multiple select drop down will be use.

options

Array

Required

Set 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 the placeholder of the select.

label

String

Optional

Set the title/label of the select

value

Array

Required

Set the value that selected in drop down.

disabled

Boolean

Optional

Set if the select is disable or not.

required

Boolean

Optional

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

...