Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nik 1614 posts 7260 karma points MVP 7x c-trib
    May 13, 2015 @ 13:23
    Nik
    0

    Umbraco7 new backoffice section, edit date field, AngularJS

    Hi Guys,

    I'm trying to create an edit screen for a new section in the back office. I've followed various tutorials on how to go about this and it is working fine for normal text fields.

    However, my model has 2 date fields as part of it and I would like to put in some date pickers for them. I cannot for the life of me get them to work. I've tried hooking into bootstrap and using Bootstrap-DatePicker to turn text input's into date time pickers but to no avail.

    What's more annoying is that if I use input types of date, then the create screen works no problem, with date pickers. However due to the version of AngularJs within Umbraco, the edit screen does not bind correctly hence trying to find a way around it.

    I am using the AngularJS approach to creating the view.

    Any help on how I can achieve this would be greatly appreciated.

    Links:

    Main tutorial

    Bootstrap-DatePicker help documents

    Thanks in advance

    Nik

Please Sign in or register to post replies

Write your reply to:

Draft