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
close icon

EJTEXTBOXES angular change on blur

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

1 Reply

KR Karthik Ravichandran Syncfusion Team February 10, 2017 12:55 PM UTC

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 


Loader.
Live Chat Icon For mobile
Up arrow icon