calendar
calendar copied to clipboard
I want to get the value of the input box?

I am a novice.
I want to get the value of the input box?
But get the Moment object, rather than 20180117 format string.
My code
onStartChange = (value) => {
this.setState({
startValue: value[0],
startOpen: false,
endOpen: true,
})
}
You can call format on value, e.x value.format('YYYYMMDD').
thanks🙏