Hybrid View

  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,241
    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...

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar