onChange

Callback fired when the value is changed.

Parameters

{object} event The event source of the callback. You can pull out the new value by accessing event.target.value (string).