Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 576 Bytes

basic-usage.md

File metadata and controls

27 lines (24 loc) · 576 Bytes

Basic Usage

Single Select

<PaperSelect
  inputRef={singleSelectRef}
  label="Select Gender"
  value={gender.value}
  onSelection={(value: any) => {
  setGender({
    ...gender,
    value: value.text,
    selectedList: value.selectedList,
    error: '',
    });
  }}
  arrayList={[...gender.list]}
  selectedArrayList={[...gender.selectedList]}
  errorText={gender.error}
  multiEnable={false}
  hideSearchBox={true}
  textInputMode="outlined"
  />

See Example