I am using inputMask
field from PrimeNG
<p-inputMask name="maskValue" [(ngModel)]="attr.attributeValue" mask="aa/99" placeholder="aa/99"></p-inputMask>
{{attr.attributeValue}}
But if I enter a
in the textbox and focus out, that textbox is clearing but ng-model attr.attributeValue
is still hold value a_/__
. How could we clear the ng-model as well ?