Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React DatePicker Bootstrap up to date

I searched for a good datepicker in React using bootstrap style. But everything I found wasn't working well or was not up to date...

I'm working with React 15.0.2 and Boostrap 3.3.6

Does anyone know a good datepicker component?

like image 225
Frix G Avatar asked Nov 29 '22 14:11

Frix G


1 Answers

If you are using react bootstrap, you can try type="date" , You can find more information at react-bootstrap

import Form from "react-bootstrap/Form";

....

<Form.Control type="date" name='date_of_birth' error={errors.date_of_birth} ref={register} />
like image 78
ravthiru Avatar answered Dec 05 '22 04:12

ravthiru