How to remove "Clear" button

2 posts, 0 answers
  1. Peter
    Peter avatar
    44 posts
    Member since:
    Jan 2014

    Posted 28 Nov 2016 Link to this post

    A recent change - probably from here - https://github.com/telerik/kendo-ui-core/issues/1650

    Means that all our input boxes now come with what is, for us, an ugly and inappropriate clear button.

    Seems especially odd to make it appear on a DropDownList - since all our values are readonly.

    Can you advise the best way to remove this feature?

    Project wide would be nice.

  2. Rumen
    Admin
    Rumen avatar
    12911 posts

    Posted 29 Nov 2016 Link to this post

    Hello,

    You can hide the X icon with the following CSS class:

    <style>
      .k-icon.k-i-close
      {
        display: none !important;
      }
    </style>

    Here you go a dojo sample: http://dojo.telerik.com/@RumenJ/AZazE.

    Best regards,
    Rumen
    Telerik by Progress
    Kendo UI is ready for Visual Studio 2017 RC! Learn more.
Back to Top