1. #1
    Ext User
    Join Date
    May 2008
    Posts
    20
    Vote Rating
    0
    kescatefou is on a distinguished road

      0  

    Default [FIXED] BUG Password field & setEmptyText

    [FIXED] BUG Password field & setEmptyText


    There is a bug when using setEmptyText on a PasswordField (TextField with setPassword to true). The empty text is replaced by ****.

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Empty text is disabled when the field is a password field. Fix is in SVN.

  3. #3
    Ext User
    Join Date
    May 2009
    Posts
    6
    Vote Rating
    0
    maxpert-gxt is on a distinguished road

      0  

    Default


    With all due respect, but that is not a very smart idea.
    You would like to have empty text on password fields as well.

    Let us say you have two text fields, username and password. Instead of putting labels, you can just set empty texts in both fields to notify that one is username and the other one is password.
    Same way facebook is doing.

  4. #4
    Sencha Premium Member
    Join Date
    Dec 2008
    Location
    Munich, Germany
    Posts
    183
    Vote Rating
    0
    Jose Jeria is an unknown quantity at this point

      0  

    Default


    Quote Originally Posted by maxpert-gxt View Post
    Same way facebook is doing.
    Not really,

    Facebook actually shows a input text field with the default text "Password". The input fields type will change to password once you focus it.

  5. #5
    Ext User
    Join Date
    May 2009
    Posts
    6
    Vote Rating
    0
    maxpert-gxt is on a distinguished road

      0  

    Default


    Thank for the reply
    That is the effect I wanted to have with my fields.

    Quote Originally Posted by GXT Dev View Post
    Not really,

    Facebook actually shows a input text field with the default text "Password". The input fields type will change to password once you focus it.

  6. #6
    Ext User
    Join Date
    Nov 2008
    Location
    Switzerland
    Posts
    103
    Vote Rating
    0
    googelybear is on a distinguished road

      0  

    Default


    I think this behavior should be provided by the library itself... It looks kind of weird if you have empty texts for all your fields EXCEPT the password field.... so if you want to have a nice look everyone has to implement this himself...

  7. #7
    Ext User
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    12
    Vote Rating
    0
    FrankCA is on a distinguished road

      0  

    Default


    hi, I'm using gxt-2.0.1 and I'm having the same issue. I see above the "fix is in the SVN" could you please advise how I can get to the SVN. Sorry new to this forum so I'm not exactly sure what the SVN is.
    Please help thanks.
    Basically as above, I need emptyText fields available for textfields AND password textfields.

    Regards,

    Frank Fera

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..."