Setting innerText of SuperElements #234
-
How could I achieve setting an element's innerText which is a hidden field? the obvious, isn't possible as it's only a Getter
ps, sorry for bombarding the team/community with queries - I'm back to work tomorrow 😂 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We don't have a great answer for this right now. We'll add setters to awaited-dom now that they've allowed setters to have different signatures than getters, but it's not a small effort. There's a hacky interim solution to just use agent.getJsValue(..) and provide a string that sets the value. |
Beta Was this translation helpful? Give feedback.
We don't have a great answer for this right now. We'll add setters to awaited-dom now that they've allowed setters to have different signatures than getters, but it's not a small effort. There's a hacky interim solution to just use agent.getJsValue(..) and provide a string that sets the value.