Monday, 6 May 2024

max length

maxlength not work for input type number 


only number exe link

so for type text it will work but it will allow keys 

  <mat-form-field class="harsco-input" [floatLabel]="'always'">

                    <mat-label>Budgeted Approval  Amount($)</mat-label>
                    <input type="text" matInput name="BudgetedApprovalAmt" id="amount"  maxlength="3"
                      [(ngModel)]="workFlowMembers.ApprovalAmount"
                      required />
                  </mat-form-field>

No comments:

Post a Comment

teams bot using ai

 https://osmosys.co/blog/microsoft-teams-bot-development-a-step-by-step-guide/ https://learn.microsoft.com/en-us/microsoftteams/platform/sbs...