Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Datepicker in semantic ui

Is there any datepicker for semantic ui like bootstrap datepicker? I searched their website. But failed to get.

Jquery datepicker is worked nicely but UI does not look nice with my project.

like image 253
nikolas Avatar asked Oct 18 '15 18:10

nikolas


3 Answers

At this time of writing, there is a pending pull request here:

https://github.com/Semantic-Org/Semantic-UI/pull/3256

Here is how it looks

https://jsbin.com/hubanufuva/1/edit?html,js,output

like image 52
Abdelouahab Avatar answered Sep 22 '22 20:09

Abdelouahab


Take a look on this Semantic UI Calendar module which results from the above mentioned pull request. Lots of customization and looks nice.

<h3>Input</h3> <div class="ui calendar" id="example1">   <div class="ui input left icon">     <i class="calendar icon"></i>     <input type="text" placeholder="Date/Time">   </div> </div> 

and

$('#example1').calendar(); 

enter image description here

like image 22
H6. Avatar answered Sep 18 '22 20:09

H6.


Yes there is, you'll have to give your input a type attribute of date,

<input type="date">

This is how it looks like

like image 40
kajamaki Avatar answered Sep 22 '22 20:09

kajamaki