Hide the seach field

Hide the seach field

carrarachristophecarrarachristophe Posts: 100Questions: 24Answers: 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: 20,425Questions: 26Answers: 4,794
    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: 100Questions: 24Answers: 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: 61,972Questions: 1Answers: 10,160 Site admin

    Spot on :)

Sign In or Register to comment.