Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User wildaker's Avatar
    Join Date
    Sep 2010
    Posts
    30
    Vote Rating
    2
    wildaker is on a distinguished road

      0  

    Default Clearing input in a TextField

    Clearing input in a TextField


    The release notes for 0.96 include:
    • Added a (x) to clear input text
    I can't work out how to enable this on an iPhone - any clues?

    Thanks in advance!

  2. #2
    Sencha User wildaker's Avatar
    Join Date
    Sep 2010
    Posts
    30
    Vote Rating
    2
    wildaker is on a distinguished road

      0  

    Default


    OK - I've found

    showClear: true;


    and after a bit of work with the CSS I've got it working the way I want.

    However...

    How can a trap/listen for the event of the "clear" being done? I can't work out what listener I'd add to the TextField (or how to add one to the Clear button).

    What I want is for the action of clearing the TextField to also clear the text in a related/inked container.

    Any ideas?

  3. #3
    Sencha User wildaker's Avatar
    Join Date
    Sep 2010
    Posts
    30
    Vote Rating
    2
    wildaker is on a distinguished road

      0  

    Default


    Further input. On desktop Safari and on the iPhone emulator a change event is triggered, but not on an actual iPhone 4 (or, at least, not until the soft keyboard has gone away)...

    So this

    change: function (field) {alert('changed');}

    doesn't work in the real world, but does on the test bed...



Similar Threads

  1. Getting input from a TextField
    By rlaferla in forum Ext GWT: Help & Discussion (1.x)
    Replies: 5
    Last Post: 19 Dec 2008, 10:33 AM
  2. Replies: 3
    Last Post: 12 Mar 2008, 7:18 AM
  3. Clearing the text from textfield
    By say2paul in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 27 Feb 2008, 2:46 AM

Tags for this Thread