How to access search box inside a reusable element (header)

Have a look at this thread: