You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to conditionally show a search bar in the header - show if there's content to search, hide otherwise. With other header options I would simply use setOptions and set them to null or undefined but that approach doesn't seem to be working. Interestingly enough, I can add a search bar if one did not previously exist, but once it's rendered I can't seem to remove it. Anyone know of a way to do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I want to conditionally show a search bar in the header - show if there's content to search, hide otherwise. With other header options I would simply use
setOptions
and set them to null or undefined but that approach doesn't seem to be working. Interestingly enough, I can add a search bar if one did not previously exist, but once it's rendered I can't seem to remove it. Anyone know of a way to do this?Beta Was this translation helpful? Give feedback.
All reactions