Sets value for the given element
Optional
the element to inspect
the value to set
the function to execute after value been set
David Hsing
"https://coryrylan.com/blog/trigger-input-updates-with-react-controlled-inputs"
Sets value for the given element