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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EJTEXTBOXES angular change on blur

Thread ID:

Created:

Updated:

Platform:

Replies:

128753 Feb 9,2017 09:40 AM UTC Feb 10,2017 12:55 PM UTC JavaScript 1
loading
Tags: ejCurrencyTextbox
Javier
Asked On February 9, 2017 09:40 AM UTC

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


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

;