NumericFormat suffix is not allowing antdesign input to handle suffix
jsparraw783 opened this issue · comments
Describe the issue and the actual behavior
on NumericFormat component custom input of antdesign suffix are not working as they are ReactNode type and not string
Describe the expected behavior
Antd Input is expected to provide a span with the suffix but instead NumericFormat has a prop type of a string and handles suffix and prefix differently
Provide a CodeSandbox link illustrating the issue
Provide steps to reproduce this issue
on NumericFormat provide a custom input of antd and try to pass suffix with it and it will not work,
please note that providing and addOnAfter goes back to the basic commonInputProps types which is ReactNode
but with suffix it does not work
Please check the browsers where the issue is seen
- Chrome
- Chrome (Android)
- Safari (OSX)
- Safari (iOS)
- Firefox
- Firefox (Android)
@jsparraw783 please provide codesanbox link so it's easy to check what issue you are facing. Looks like some custom use case.