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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

ej-numerictextbox: e-value behaving differently to ng-model

Thread ID:

Created:

Updated:

Platform:

Replies:

123786 Apr 21,2016 09:33 AM UTC Apr 25,2016 12:38 PM UTC JavaScript 1
loading
Tags: General
Greg Gannicott
Asked On April 21, 2016 09:33 AM UTC

Hi.

We're finding that e-value isn't behaving as you'd expect ng-model to behave on the number spinner, which is causing us problems.

I've attached a demo project to demonstrate.

In the demo I've binded one number spinner using ng-model and the other with e-value.

The ng-model spinner acts on changes with ng-change, and the e-value spinner uses e-change.

When you change the values of the spinners, they behave differently.

When the change events output the entire binded object (eg. itemsForNgChange or itemsForEChange) to the log, they both output the latest data (eg. the value displayed in the UI).

However, if the change events output a variable within the binded object, behavior differs.
  • ng-change displays the up to date data (what you see in the UI).
  • e-change displays the previous version (what you saw in the UI prior to the change).
And if you change the value again, the same happens again (e-change is always one change behind).

This is causing us problems when acting on the data.

Are we implementing it incorrectly, or is this a bug?

Cheers.

Attachment: ejnumbertextboxdemo_3d27a55e.zip

Balamurugan P [Syncfusion]
Replied On April 25, 2016 12:38 PM UTC

Hi Greg,
Sorry for the inconvenience caused.
We are able to reproduce the reported issue at our end and logged a report on this. Also we have created a support incident under your account to track the status of this issue.
Please log on to our support website to check for further updates.
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
please let me know if you have any questions.
Regards,
Balamurugan
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;