Hi again. Thanks to @MarkHunte and my reading skills I have now working everything properly: toggle layers by their ID to simulate search results for certain terms ... in the attached file - "water" and "sun".
So far you have to click on the search glas to active the layer-toggle-thing, but how to do so by pressing ENTER?
I checked the "textInputListener-v2.hypetemplate" attached in the thread ...
So what I am trying to do: with entry of the scene or later always wait for the ENTER keycode and then do the same as in the ShowHide function ... but it does not work. If I put out the console of "textResult" which should contain the content of the input field - it is always empty.
I think the problem is, that I can not get the values from "outside" the symbol ... so where to get "hypeDocument.getSymbolInstanceById('Suche').element().querySelector('#input-style').value" while being on scene level .... maybe I am totally wrong.
And as I am from cologne, I will get myself a couple of Koelsch to clear up my head.
Thanks so far.seach-dummy.hype.zip (40.6 KB)