[CLOSED] Currency field

  1. #1

    [CLOSED] Currency field

    Hi, I really like the currency field defined in https://fiddle.sencha.com/#view/editor&fiddle/2qqd
    but not sure how can I replace my numberFiled below with this currency Field.
    Please advise.
    Thanks
    -susan

       
        X.FormPanel() ..
             X.FieldSet()
              .Items (
                   X.NumberFieldFor(m => m.Amount)
                    .MinValue(1.00).AllowBlank(false)
                   ,
                   ...
              )
  2. #2
    Hello Susan!

    I'm afraid that fiddle is based in Ext JS's modern framework; are you trying this in Ext.NET Mobile?

    If I'm not mistaken, the Ext.NET version you usually ask questions about are Ext.NET based in Ext JS's classic framework.

    So an override or extension written to Ext.NET Mobile (or Ext JS modern framework) is not going to work with Ext.NET (or Ext JS classic framework), and the other way around.

    But, maybe all you need here is using either InputMask features below:
    - Ext.NET's InputMask (webforms example)
    - Native Ext JS InputMask (MVC example)

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Oh, good to know! Yes, you are right, we do not do mobile.
    Thanks for the advice. I will check other links you provided.
    Please close this thread.
    Thanks!
  4. #4
    Glad we have it clarified, and hope the input mask examples give you a good solution to customize an input field's currency format.

    You can also tap the change event in text fields for real custom behavior, allowing seamless input of any need you may have.
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 0
    Last Post: Feb 03, 2016, 1:22 PM
  2. [CLOSED] Currency Field
    By RCN in forum 3.x Premium Help
    Replies: 2
    Last Post: Feb 26, 2015, 1:05 PM
  3. Currency sign.
    By cisco in forum 2.x Help
    Replies: 0
    Last Post: Aug 01, 2012, 4:10 PM
  4. [CLOSED] [1.0] Currency field?
    By danielg in forum 1.x Premium Help
    Replies: 2
    Last Post: Feb 15, 2010, 4:27 AM
  5. currency euro
    By maxdiable in forum 1.x Help
    Replies: 1
    Last Post: Jul 28, 2009, 10:53 AM

Posting Permissions