Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to add a datepicker in ionic framework [closed]

I am a beginner in ionic and angular j s. I want to insert a date picker in ionic and to get value from that. Anybody have some choices to solve this

like image 794
Hari Prasad Avatar asked Dec 09 '14 07:12

Hari Prasad


2 Answers

Ionic Framework has no Datepicker yet. But you can still invoke a "native" Datepicker by using a simple input tag like this:

<input type="date">

or trying one of thoses:

  • https://github.com/joshilomas/DatePicker-IonicApp
  • https://github.com/mrfoh/cordova-datepicker-plugin
  • https://build.phonegap.com/plugins/332
  • https://github.com/alongubkin/angular-datepicker
like image 126
Mohamed Gallah Avatar answered Oct 10 '22 16:10

Mohamed Gallah


I have create a ionic-datepicker bower component. You can use it. No additional dependencies are required. And it wont use the native components. Its purely ionic frameworks component. https://github.com/rajeshwarpatlolla/ionic-datepicker

You can even have a look at the ionic-timepicker bower component. No additional dependencies are required. https://github.com/rajeshwarpatlolla/ionic-timepicker

like image 38
Rajeshwar Avatar answered Oct 10 '22 16:10

Rajeshwar