Open SiBorho opened 5 months ago
When entering characters I get an error:
minimal Set-Up: const localData = [ { key: 'a', value: 'aa' }, { key: 'b', value: 'bb' }, { key: 'c', value: 'cc' } ];
const localData = [ { key: 'a', value: 'aa' }, { key: 'b', value: 'bb' }, { key: 'c', value: 'cc' } ];
<SelectList data={localData} setSelected={() => console.log()} />
When Input:
Throw error on InputText at: https://github.com/danish1658/react-native-dropdown-select-list/blob/f4f01abcb80708adb5575b67f635f521b9d0b03c/components/SelectList.tsx#L147
Is there a fix or workaround for this issue?
You can also reproduce the error on (Expo Snack) with the inputs
When entering characters I get an error:
minimal Set-Up:
const localData = [ { key: 'a', value: 'aa' }, { key: 'b', value: 'bb' }, { key: 'c', value: 'cc' } ];
<SelectList data={localData} setSelected={() => console.log()} />
When Input:
Throw error on InputText at: https://github.com/danish1658/react-native-dropdown-select-list/blob/f4f01abcb80708adb5575b67f635f521b9d0b03c/components/SelectList.tsx#L147
Is there a fix or workaround for this issue?
You can also reproduce the error on (Expo Snack) with the inputs