react-bootstrap-datetimepicker
react-bootstrap-datetimepicker copied to clipboard
Clear field
No obvious way to clear field. I would recommend having a value
attribute, making it a controlled component if passed. Would also be great if component included a name
attribute and returned data as an event. Basically, make it act like a normal input. Thanks.
I've hacked in a "clearing mechanism" on my branch https://github.com/doda/react-bootstrap-datetimepicker/commits/master however it only works in an un-controlled manner (i.e. you have to pass in a onClear
callback)
Thanks @doda . Would still like to see this in in the main package.
+1
:+1: