1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    49
    Vote Rating
    0
    zakif is on a distinguished road

      0  

    Default How to Remove Red Boundary on Numberfield

    How to Remove Red Boundary on Numberfield


    Dear all,

    Ther is a form containing a numberfield as follow:

    Code:
    {
                xtype:'numberfield',
                fieldLabel:'Latitude',
                name:'lat',
                allowBlank:false,
                width : 150
     }
    The problem is I oon't know why there is a red boundary on the field by default. Normally, the validation should be done after blur. I have add the validateOnBlur: true to ensure such action, but unfortunately, the problem is still remain.

    How to fix that? I really appreciate any solutions.

    Thanks in advance.

    Best regards,
    zaki

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    49
    Vote Rating
    0
    zakif is on a distinguished road

      0  

    Default Okay

    Okay


    Okay, the solution is just by adding
    Code:
    preventMark : true
    . And the red boundary is not displayed initially. But the invalid mark did not displayed at all, even when the field is empty. I've tried to adding
    Code:
    validateOnBlur: true
    , but the invalid mark is still dissappeared.

    How to fix that?

    Thanks in advance.

  3. #3
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    Your code is working fine for me, see this:-
    numberfield.png

    Can you be more specific, i guess problem is in your form panel.
    give your full form panel code and screen shots to better understanding your problem.
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi