-
-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Labels
Description
Got a question. How do I get the value of the inputted date on the onChange event?
I'm using react hook
const [currentDate, setNewDate] = useState("")
Here's the code
<SemanticDatepicker onChange={evt => setNewDate(evt.target.value)}/>
I tried following the example in the Codepen with onDateChange but that doesn't seem to work in the new version.