Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Question about <ons-input>



  • Hi Guys,

    I’m using the ons-input as a type date. I tried to initialize it by assigning the model or the value property but the output is always empty.

    <ons-input type="date" ng-model="data.dateOfBirth"></ons-input>
    

    Emulators will display the date but when you deploy to actual device(android/iOs) the value is empty.

    Is there another way to initialize the value? I already tried javascript and also look from document and I can’t find a way to display date.