-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
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
NumericFormat: customInput Antd Input is not working properly #818
Comments
any updates? |
There are no updates available at the moment. I reported the same problem on the GitHub page of the Ant Design (Antd) library and am waiting for the response from there. Other than that, I'm trying to find another alternative way to solve the problem. |
Working fine with antd 5.11 but begin to malfunction from 5.12 on |
ok I'll check it out with a downgrade. |
I faced the same issue. Instead of reverting to the previous version of Antd, I applied a temporary workaround to my component. For example, based on the code you provided in CodeSandbox:
|
Can you mention your reported issue on Antd's? |
I opened an issue like this |
However, this solution is a temporary one. The problem works fine in version 5.10.3 of Ant Design. In other words, the problem is actually caused by a conflict on the part of Ant Design. If the Ant Design team fixes this conflict, there will be no need for this temporary solution. |
I created a temporary solution, maybe it will be useful to you |
Describe the issue and the actual behavior
I use NumericFormat format and customize the customInput property with antd Input.
When used this way, input events do not work correctly.
Describe the expected behavior
I expect the values entered into the input to format and work correctly.
Provide a CodeSandbox link illustrating the issue
https://stackblitz.com/edit/react-m9nrou
Provide steps to reproduce this issue
An example is available on CodesandBox.
Please check the browsers where the issue is seen
The text was updated successfully, but these errors were encountered: