Hide the seach field

Hide the seach field

carrarachristophecarrarachristophe Posts: 109Questions: 25Answers: 2

Good morning,
Following the upgrade to DT2, I am replacing the DOM by layout.
It works fine except that I am unable to hide the seach field.
I tried search: false but it does not work.
Any idea on how I can do that?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 21,322Questions: 26Answers: 4,948
    Answer ✓

    The layout docs show the default settings and how to remove the unneeded elements. For example topEnd: null to remove the search input.

    Kevin

  • carrarachristophecarrarachristophe Posts: 109Questions: 25Answers: 2

    Thanks Kevin!
    I saw that page before posting but I misunderstood it.
    I understand now that topEnd: null removes the default value, and topEnd: 'info' for example overrides the default value.

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    Spot on :)

Sign In or Register to comment.