Jump to content

Mask FieldMoney


belo

Recommended Posts

Hi,

 

See this sample

 

For this sample I use this Moneytext JS source code, if you see any bug say this source owner:

 

http://code.google.com/p/extjs-field-money/

 

attachicon.gifXMoneyEdit.zip

 

 

Regards

 

 

Patmap,
 
By using FieldMoney.js it is disabling calls the OnExit other UniDBEdit. When the retreat of CustomFiles ServerModule back to normal.
 
What can it be?
Link to comment
Share on other sites

 

Hi,

 

 

It did not work. Continues with the same problem.
 
What have you changed?

 

Hi,

 

Changes in MoneyField.js

   initEvents : function() {
       if(this.isMoney == true)
       {
         var input = this.inputEl;
         input.on('keypress', this._onKeypress, this);
         input.on('keydown', this._onKeydown, this);
         input.on('blur', this._onBlur, this);
         input.on('focus', this._onFocus, this);
       }
       this.callParent();
   },

Wrong uploded,

 

Try this:

 

XMoneyEdit2.zip

  • Upvote 1
Link to comment
Share on other sites

Hi,

 

Changes in MoneyField.js

   initEvents : function() {
       if(this.isMoney == true)
       {
         var input = this.inputEl;
         input.on('keypress', this._onKeypress, this);
         input.on('keydown', this._onKeydown, this);
         input.on('blur', this._onBlur, this);
         input.on('focus', this._onFocus, this);
       }
       this.callParent();
   },

Wrong uploded,

 

Try this:

 

attachicon.gifXMoneyEdit2.zip

 

 
Yes, now it worked.
 
Patmap you're amazing.
 
Thank you so much for your help.
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...