[CLOSED] [1.7] Remove IE10 Clear Field trigger

  1. #1

    [CLOSED] [1.7] Remove IE10 Clear Field trigger

    Hello,
    I tried to remove the IE10 clear field trigger that appears by default in form fields and comboboxes, using this css class:

    .removeClearField::-ms-clear {
                display: none;
           }
    I used the attribute FieldClass for the control and it works, but it seems to break font size (slightly bigger); there is a way to add this css rule to the existing class of the control in a declarative way without to set the whole css class? I add the screenshots for a custom combo, but the issue is the same for textfield and normal combobox

    Thanks!
    Attached Thumbnails Click image for larger version. 

Name:	clearfield_disabled.png 
Views:	26 
Size:	1.3 KB 
ID:	6680   Click image for larger version. 

Name:	clearfield_enabled.png 
Views:	26 
Size:	1.2 KB 
ID:	6681  
    Last edited by Daniil; Aug 05, 2013 at 11:02 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Try to use Cls instead of FieldCls. Also, you can use the following CSS:

    .x-form-text::-ms-clear {
        display: none;
    }
  3. #3
    Hi Baidaly!

    Thanks, both solutions work great; the second one is very useful when I want to disable the clear trigger for all the elements in the form.

    many thanks for your help, you can close the thread.

Similar Threads

  1. [CLOSED] GridPanel remove/clear columns
    By romeu in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 06, 2012, 3:57 AM
  2. Replies: 2
    Last Post: Nov 09, 2012, 3:23 PM
  3. Clear/Remove Group
    By sysmo in forum 2.x Help
    Replies: 1
    Last Post: Jun 18, 2012, 11:30 PM
  4. [CLOSED] [1.0] Trigger field CSS
    By tdracz in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 06, 2010, 4:52 PM
  5. [CLOSED] ComboBox trigger click fails to clear value
    By Ben in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Nov 02, 2009, 9:51 AM

Posting Permissions