We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
Does this library work with Ant Design Input component? Is there any working example?
I tried to add it following your example like this:
const CustomInput = (props) => ( <InputMask mask="+7 (999) 999-99-99" value={props.value} onChange={props.onChange}> {(inputProps) => <Input {...inputProps} />} </InputMask> );
But it gives an error:
react-input-mask: the following props should be passed to the react-input-mask's component and should not be altered in children's function: disabled
Here is demo https://codesandbox.io/s/react-input-mask-test-e1oog?fontsize=14.
The text was updated successfully, but these errors were encountered:
I've posted this question in #139
Sorry, something went wrong.
No branches or pull requests
Hi there,
Does this library work with Ant Design Input component? Is there any working example?
I tried to add it following your example like this:
But it gives an error:
Here is demo https://codesandbox.io/s/react-input-mask-test-e1oog?fontsize=14.
The text was updated successfully, but these errors were encountered: