I am using angular ui mask directive for a date field and its adding underscores for the placeholder. Is there a way to show nothing on the placeholder?
Regarding that is a plugin issue I found this amazing library called ngMask:
https://github.com/candreoliveira/ngMask
Please try this once.
<div ng-app="myApp">
<input class="form-control" type="text" ng-model="accountNumber" ui-mask="9999 9999 9999 9999 999" ui-mask-placeholder-char="space" />
</div>
Using ui-mask-placeholder-char="space" , you can get empty placeholder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With