DEV Community

Discussion on: Forms in React: React Hook Forms with Material UI and YUP

Collapse
 
snruline profile image
snruline

Select How to use onChange?

Collapse
 
snruline profile image
snruline

const { label, name, options, required, errorobj, onChange } = props;
onChange={(e) => {
onChange(e)
}}

Collapse
 
ammartinwala52 profile image
Ammar Tinwala

Hi Snruline

I'm very very sorry for the delayed response.
Can you please elaborate in detail where do you want to use onChange ?