doubts Input type date

0

Good afternoon, I'm doing a form, for registering and modifying users. When I try to insert a date into the inputs of type="date", no data type is displayed on the screen. These dates I'm using all come from a json that already has them registered. Do you know some kind of solution to this?

    <div layout="row" flex>
      <md-input-container flex>
        <label>Data de Adesao</label>
        <input type="date" name="adesao" ng-model="userSettings.userForm.adesaoUserForm ">
      </md-input-container>
      <md-input-container flex>
        <label>Data Vencimento</label>
        <input type="date" name="vencimento" ng-model="userSettings.userForm.vencimentoUserForm  " >
      </md-input-container>
    </div>
    
asked by anonymous 12.06.2017 / 22:13

1 answer

1

Hello, I imagine the date formed is the problem. The default input date default is "mm / dd / yyyy", if the entered date is set to another default the value will not be displayed. Take a look at the documentation at: link

    
12.06.2017 / 22:20