unique-blueU
Refine3y ago
10 replies
unique-blue

It seems there is not an onClear available in the "@pankod/refine-antd" Input

Heey Team,

First off love your work and thank you for making such a great product.

Can I ask why does the onClear prop not exist on the Input component in Ant Design for React, while it does exist on the Select component?

The Input has the allow clear so it would seem like it should exist

Im using

"@pankod/refine-antd": "^3.48.10",
"@pankod/refine-core": "^3.74.6",

Is there a recommended way to handle clearing of input values in Ant Design forms?"
image.png
Was this page helpful?