Results 1 to 2 of 2

Thread: Danish locale NumberField decimal separator incorrect

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-6928 in 4.1.2.
  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2010
    Location
    San Diego
    Posts
    8
    Vote Rating
    2
      0  

    Default Danish locale NumberField decimal separator incorrect

    REQUIRED INFORMATIONExt version tested:
    • Ext 4.1.1
    Browser versions tested against:
    • Chrome / FF ESR
    Description:
    • ext-lang-da.js does not localize Ext.form.field.Number correctly. The number separator is not set (it is for Ext.util.Format)
    Steps to reproduce the problem:
    • Include the danish local in an example page with a number form field.
    The result that was expected:
    • , can be used as the decimal separator (as it can be with the German locale)
    The result that occurs instead:
    • . must be used
    Possible fix:

    Something similar to the German locale
    PHP Code:
    Ext.define("Ext.locale.de.form.field.Number", {
    override"Ext.form.field.Number",
    minText"Der Mindestwert fr dieses Feld ist {0}",
    maxText"Der Maximalwert fr dieses Feld ist {0}",
    nanText"{0} ist keine Zahl",
    decimalSeparator","
    }); 
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • All

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    Thanks for the report.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •