I do not know how to disable the user from interacting with a PickerIOS
using react-native
, and there does not seem to be much documentation about it out there.
More importantly, I only need it to be disabled or not when the element is initially rendered.
A possible solution would be to use a <Text>
instead, like so:
{isDisabled? <Text>{...}</Text> : <PickerIOS>{...}</PickerIOS>}
but maybe there's a simpler way out there. Can anyone help?