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.

EJTEXTBOXES angular change on blur

Thread ID:

Created:

Updated:

Platform:

Replies:

128753 Feb 9,2017 04:40 AM Feb 10,2017 07:55 AM JavaScript 1
loading
Tags: ejCurrencyTextbox
Javier
Asked On February 9, 2017 04:40 AM

I have a currencytextbox, but variable of controller is change after spin up/down and chage textbox.
How can I use with angularjs that update on blur?
SAMPLE:
Very thanks

Karthik Ravichandran [Syncfusion]
Replied On February 10, 2017 07:55 AM

Hi Javier, 
 
Thanks for contacting Syncfusion support. 
 
We have analyzed your query (“How can I use with angularjs that update on blur?”). We would like to inform you that, you can achieve your requirement using “focusout” event of the ejCurrencyTextbox. Please refer the below code block. 
 
[Html] 
 
<input id="currency" type="text" ej-currencytextbox e-value="100" e-focusout ="focusout" /> 
 
[controlller] 
 
angular.module('EditCtrl', ['ejangular']) 
        .controller('EditorsCtrl', function ($scope) { 
            $scope.focusout = function () { 
                $scope.cvalue = this.model.value; 
            } 
        }); 
 
Based on your requirement we have prepared the sample, please refer the below link. 

To know more details about ejCurrencyTextbox in angualrJS framework, please refer the below documentation link. 
 
Please let us know if you have any queries. 
 
 
Regards, 
Karthik R 


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.

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.

;