We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

the variable binding with input control (using ejs-texbox element)is not updating simultaneously.

when using templete driven forms or reactive forms,the variable attached with ex: [(ngModel)]='name',used like below.

<ejs-textbox [(ngModel)]="name" required minlength="3"></ejs-textbox>

when  onblur of the  control or out of focus of that control ,the variable 'name'  is updating..No issue.

But not updating simultaneously.

why i am requiring this?.

Ans:if i am doing validation for that control in form,until i am coming out of that control(out of focus or blur) validation will not be done.User(who is using app)  may think
wrongly that still there is problem in the value which is entered.

variable update problem of text box control when using 
<ejs-textbox></ejs-textbox>  
but not with input using classes.
<div class="e-float-input" > <input type="text" id="name" name="name" [(ngModel)]="name" #Name="ngModel" required> </div> <span *ngIf="Name.errors && Name.errors.required && (Name.dirty || Name.touched)" > * Enter your first name </span>


1 Reply

PO Prince Oliver Syncfusion Team January 31, 2019 05:13 AM UTC

Hi Goutham, 

Thank you for contacting Syncfusion support. 

We were able to replicate the reported issue in our end. We have confirmed this as a bug in our side and the fix for this issue will be included in our upcoming patch release which is scheduled on second week of February 2019. We appreciate your patience until then. 

Regards, 
Prince 


Loader.
Up arrow icon