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.


Log in to reply