<input
#input
[disabled]="disabled"
[(ngModel)]="value"
[maxlength]="maxlength ?? null"
[placeholder]="placeholder ?? ''"
[autofocus]="_autofocus"
oninput="this.value = this.value.replace(/[^0-9.]/g, '')
.replace(/(\..*)\./g, '$1')
.replace(/^(\d{0,3})(\d{0,4})(\d{0,4})$/, `$1-$2-$3`)
.replace(/\-{1,2}$/g, '');"
class="w-full px-3 py-2.5 text-sm border outline-none border-gray-200 hover:border-gray-500 focus-within:border-gray-500 rounded-md"
/>