Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Latest commit

 

History

History
33 lines (27 loc) · 644 Bytes

select.md

File metadata and controls

33 lines (27 loc) · 644 Bytes

< Back to Components List

Select

polaris-select implements the Polaris Select component.

NOTE: the groups property in the Polaris documentation is not implemented because it is deprecated.

Examples

Basic usage:

{{polaris-select
  label="Date range"
  options=(array
    (hash
      label="Today"
      value="today"
    )
    (hash
      label="Yesterday"
      value="yesterday"
    )
    (hash
      label="Last 7 days"
      value="lastWeek"
    )
  )
  value=selectedDateRange
  onChange=(action (mut selectedDateRange))
}}