Function select

Specifies a select input

select('Gender', {options:['Male', 'Female', 'Other'].map(v=>({value:v, label:v}))})
  • Parameters

    • label: string
    • Optionalprops: Partial<SelectFormInput>

    Returns CustomFormInput<string, SelectFormInput>