Page 1 of 1
Bootstrap/AngularJS datepicker?
Posted: Tue Apr 21, 2015 11:59 pm
by Chris N
I'd like to migrate my current jquery mobile app to angular and have been reviewing the current controls in use. I've made heavy use of two that I don't see represented in Bootstrap/AngularJS:
Collapsible - Perhaps this is simply the same as Accordion?
Datepicker (with calendar popup) - I don't see any way to use a date or time control in Bootstrap/AngularJS
I know there are some other ways to do datepicker in angular (e.g.https://angular-ui.github.io/bootstrap/), but without it being represented in the UI for Appery.io I don't see how I can make use of these control types effectively.
Bootstrap/AngularJS datepicker?
Posted: Wed Apr 22, 2015 2:58 pm
by Serhii Kulibaba
Hello Chris,
Please use HTML component to add datepicker from https://angular-ui.github.io/bootstrap/. Also you should add datepicker.js before into your app.
Bootstrap/AngularJS datepicker?
Posted: Wed Apr 22, 2015 5:05 pm
by Chris N
Hi Sergiy,
To clarify, you recommend the following action?
Add UI Bootstrap js as a resource for project
Add html component to page
For HTML source, reference control type e.g. input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="dt" is-open="opened" min-date="minDate" max-date="'2015-06-22'" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" ng-required="true" close-text="Close"
Any other steps?
If I follow this, I'm assuming the input will not show up in any of the mapping actions and mapping would need to be done manually. Is that correct?
Thank you,
Chris
Bootstrap/AngularJS datepicker?
Posted: Thu Apr 23, 2015 8:02 pm
by Serhii Kulibaba
You are right. There aren't any additional steps.
Bootstrap/AngularJS datepicker?
Posted: Fri Jan 08, 2016 11:05 am
by Marco7973452
Hi there
Did you get your datepicker to work on a mobile device (not on a desktop browser)? I am having some issues with the appery tester app on andriod 4.2.2.
Regards