I'm trying to style my mat input field on an error by adding an error icon next to the clear field icon like this: I can't find any way to add the ...
I'm trying to style my mat input field on an error by adding an error icon next to the clear field icon like this: I can't find any way to add the ...
I've got a basic Angular Material input field like this: And want to change the color of the outline. For a fix color I found this example: Is t ...
I have the following input and I want to fire the event after pressing enter: I have also tried (keydown.enter)="minValue($event)" without success. ...
Hi I am working in Angular and in one of the field which is phone number ,I want to mask the string on HTML view only except the last 3 characters. Ho ...
I want to allow user edit only time in my datetime form-field, but when user submits form the value is null <form [formGroup]="activityForm" (ngSu ...
I want to add some spacing in between the matPrefix and matInput of mat-form-field in angular. How can I targed them in css? here's my code: .html ...
I want to add icon after input field it will display on change. and another icon if its not on focus. Can anyone help me please i have tried somethin ...
I have an angular 11 app. i use mat-autocomplete and a mat-input behind it to show autocomplete hints in the input itself. i use the placeholder pro ...
I am working on matinput in angular templates. I am using it for searching puposes inside a list. In list we have different customers with contact i.e ...
In my form i have a quantity field which should accept only numeric values. When quantity is entered with special characters that time this type="numb ...
if i give input 21121997 it should convert into 21/12/1997 in date text box. if i give 01012012 then it should convert into 01/01/2012. thats is dd/mm ...
As im new to the angular. I just want to get the value from the mat-input I need to get the value from the angular mat-input. Can someone help me to d ...
I have a standard matInput field inside a standard mat-form-field, which is in a standard [formGroup] div. The background of the parent area is dark a ...
I am working on an angular application in which I have a matInput and I am trying to show an icon in the placeholder of matInput. The font-awesome ico ...
I use angular 10 with angular material to build my website. I want to add input suggestions to matInput but in a different way that matAutocomplete d ...
I have my html file as When i save enter something in this field, it updates the grid as it is right now. How do i have it automatically add the br ...
I'm facing issue in mat-table, my input field is not working properly inside table. All rows are using one input field. Means if I type text inside th ...
I just started using Angular Material. I copied a code from Official Material Input docs. But, whenever I focus on the input, it hides when it floats ...
Angular formcontrol works on different matInput, they have the same formControlName but it does not work on the second one. Why is that it works on th ...
I found out that there is a IE bug, where setting the placeholder is calling the input event as described here. This happens on page load, so there wa ...