This is a migrated thread and some comments may be shown as answers.

NativeScript UI widgets

5 Answers 141 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matthew Giles
Top achievements
Rank 1
Matthew Giles asked on 14 Apr 2015, 07:40 PM

Hello,

I see on your roadmap that a datepicker is planned for v1.0 release in May.  I also see https://github.com/NativeScript/cross-platform-modules/tree/master/ui/date-picker.  Is it possible to use the datepicker already in my app, or must I wait for the official 1.0 release?



Thanks!

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 15 Apr 2015, 08:00 AM
Hi,

You do not have to wait for the official release - the date picker is fully functional in the master branch.

Regards,
Vlad
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Matthew Giles
Top achievements
Rank 1
answered on 16 Apr 2015, 01:00 PM
Thanks! I am using VS with the AppBuilder extension.  In order to include a new module in my project, is it as simple as pull the ui/datepicker folder, include it in my project under tns_modules, and compile the typescript to javascript?  Then how do I use it in the xml layout to create a datepicker?
0
Vlad
Telerik team
answered on 16 Apr 2015, 02:04 PM
Hi,

It will be better to replace the entire tns_modules folder. I'm attaching our latest build. Here is an example how to declare it:

<DatePicker year="2015" month="4" day="16" />


Regards,
Vlad
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Matthew Giles
Top achievements
Rank 1
answered on 16 Apr 2015, 05:06 PM
Thanks, I merged in those modules and definitions.  Now css is not being applied.  I'm putting in a ticket so I can upload my project.
0
Vlad
Telerik team
answered on 17 Apr 2015, 07:27 AM
Hello Matthew,

I saw your ticket and the problem. Unfortunately you are right, because of our project structure changes in attempt to provide equal project structure for both NativeScript CLI and AppBuilder, you will unable to use latest modules from master with the current official AppBuilder. 

Please accept my sincere apologies! The new version of AppBuilder is expected after a week!

Regards,
Vlad
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
General Discussions
Asked by
Matthew Giles
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Matthew Giles
Top achievements
Rank 1
Share this question
or