masked-react-select
v1.0.6
Published
A combination of react-select and masked input to fullfil requirement where need a dropdown with creatable options and allow only masked value.
Readme
masked-react-select
A combination of react-select and masked input to fullfil requirement where need a dropdown with creatable options and allow only masked value.
Features
- Allow to add masking on react-select
Installation
npm install masked-react-selectUsage
import MaskedReactSelect from "masked-react-select";
// ...rest code
<MaskedReactSelect options=[] mask="+1____" replacement={ _: /\d/} />;