You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a value is entered in the field greater than the specified vMax, then the autonumeric plugin automatically clears the field by setting value=''
But it does not fire a change event at this time.
I need to listen to and bind the value of this field to an attribute in my class. Since I have no way of knowing that the value has been cleared to '' (since there was no event fired), I still have the old value in my attribute.
So made a change locally where we fire the event in all cases as follows :
if ( groupedValue !== origValue ) {
iv.val( groupedValue );
iv.change(); ---------------------------------- my change
}
if ( groupedValue !== holder.inVal ) {
iv.change();
delete holder.inVal;
}
Please can you have a look at this and provide a fix ? Thanks. Am using version 1.7.1.
-Lakshme
The text was updated successfully, but these errors were encountered:
When a value is entered in the field greater than the specified vMax, then the autonumeric plugin automatically clears the field by setting value=''
But it does not fire a change event at this time.
I need to listen to and bind the value of this field to an attribute in my class. Since I have no way of knowing that the value has been cleared to '' (since there was no event fired), I still have the old value in my attribute.
So made a change locally where we fire the event in all cases as follows :
if ( groupedValue !== origValue ) {
iv.val( groupedValue );
iv.change(); ---------------------------------- my change
}
if ( groupedValue !== holder.inVal ) {
iv.change();
delete holder.inVal;
}
Please can you have a look at this and provide a fix ? Thanks. Am using version 1.7.1.
-Lakshme
The text was updated successfully, but these errors were encountered: