CaioQuirinoMedeiros / react-native-mask-input

🎭:iphone: A simple and effective Text Input with mask for ReactNative on iOS and Android. Includes obfuscation characters feature.
https://www.npmjs.com/package/react-native-mask-input
MIT License
309 stars 31 forks source link

feature request: disable input #8

Closed SergeiVeit closed 3 years ago

SergeiVeit commented 3 years ago

Hi,

It will be good if developers will have a possibility to disable input

CaioQuirinoMedeiros commented 3 years ago

Hi @SergeiVeit!

Since it's a normal TextInput you should be able to use the editable prop to achieve that

SergeiVeit commented 3 years ago

@CaioQuirinoMedeiros Thanks! Sorry for my mistake... This is a habit with "disabled" field