Is it possible to create a input
with a place_holder
that erases as I type? I did not want it to completely erase when typing a letter, but when I type the first letter, delete the first of place_holder
and so on
<input class="form-control"
ng-model="$ctrl.pagamento.linhaDigitavel"
ng-paste="$ctrl.onPaste($event)"
ng-keydown="$ctrl.onKeyDown($event)"
name="linhaDigitavel"
ng-model-options="{debounce: 100}"
ng-focus
autocomplete="off"
clean="true"
mask="{{$ctrl.leitorOptico() ? $ctrl.maskLeitor : $ctrl.getMask()}}"
placeholder="{{ $ctrl.getPlaceHolder() }}"
maxlength="{{ $ctrl.getMaxLength() }}"
required
/>