What I want to achieve is either this:
Or this:
Current Code:
<md-input-container ng-if="!ctl.module.activeDate" placeholder = "NotSetted">
<label>Activation Date</label>
<md-datepicker ng-model="" disabled></md-datepicker>
</md-input-container>
This implementation is using angular material. I check with the ng-if if the activeDate is null, if it's not I have another md-input-container that get's the value, that is a "workaround" solution, the best way would be to have all of that logic in the same md-input-container.
Aucun commentaire:
Enregistrer un commentaire