bhrott / react-native-masked-text

A pure javascript masked text and input text component for React-Native.
MIT License
1.61k stars 249 forks source link

Readonly or Disabled #237

Open zapcriativo opened 4 years ago

zapcriativo commented 4 years ago

Hi,

Is possible use Readonly or disabled in fled?

inspmoore commented 3 years ago

So weirdly you have to set both editable and disabled props on the TextInputMask to make it work! Like this

// now it's disabled and readonly!
<TextInputMask editable={false} disabled={true} />

If you set only one of those props it won't work 🤯

wandersonsousa commented 5 months ago

Just editable={false} worked for me