I have an input field with type =tel(required for devices). Need to mask the text field so that it shows bullets instead of text(like a password). Any idea how to do that using angular JS. Achieved the same for all browsers using -webkit-text-security : disc; However it doesn't work for IE. Hence wondering if we can achieve it through Angular JS.
Till now have tried creating a custom directive that changes the input type but it doesn't seem to work.
myDirectives.directive('changeType', function() {
return {
priority: 500,
compile: function(elem, attrs) {
attrs.$set('type', 'password', false);
}
}
});