1. #1
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    36
    Vote Rating
    2
    mangvlad is on a distinguished road

      0  

    Default Answered: Number field format

    Answered: Number field format


    I need to display 'Year' as a field on the form. I am trying to use 'numberfield' but instead of displaying '2012' the form displays '2,012'.

    1. Any way to control this format?
    2. Any way to allow only integer number to be entered?
    3. Should this be done some how in the model?

    Thanks.

  2. You're not the only one frustrated by this:

    http://stackoverflow.com/questions/5...s-input-number

    You are probably better off using a text feild.

    Webkit Bug:
    https://bugs.webkit.org/show_bug.cgi?id=62939

  3. #2
    Sencha - Management Team abe.elias's Avatar
    Join Date
    Aug 2008
    Location
    Palo Alto, CA
    Posts
    406
    Answers
    16
    Vote Rating
    4
    abe.elias is on a distinguished road

      0  

    Default


    You're not the only one frustrated by this:

    http://stackoverflow.com/questions/5...s-input-number

    You are probably better off using a text feild.

    Webkit Bug:
    https://bugs.webkit.org/show_bug.cgi?id=62939

Thread Participants: 1

Tags for this Thread