-
[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
Code:
X.FormPanel() ..
X.FieldSet()
.Items (
X.NumberFieldFor(m => m.Amount)
.MinValue(1.00).AllowBlank(false)
,
...
)
-
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!
-
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!
-
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.