Is it possible to get the props of an input with the onBlur event?
With event.target.value I get the value of my input.
Is it possible to get the props of the component a similar way?
Is it possible to get the props of an input with the onBlur event?
With event.target.value I get the value of my input.
Is it possible to get the props of the component a similar way?
Copyright © 2021 Jogjafile Inc.
Sure you can, here is a fiddle:
Or if you receive function from parent as a property, you should bind it to the components context.
Fiddle example: