Erorr with query element from Dom and problem with toolbox plugin

Hope all doing great .

I have a problem not face me before and i tried that before a lot and worked fine but now face strange problem

I have input with id inputId1
I have action that run and i want to change value of input by simple query

input in Dom and you can check that

Html element have another opinion and element not found !

where is the problem right now ?!

When are you running that code?

My guess would be you’re trying to run it before the input has been loaded in the document.

Hi @adamhholmes
hope you are doing great

As you see here element loaded and i use this action when catch a region in map

:thinking::thinking::thinking::thinking::thinking::thinking: Any opinion @mishav ?