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
{{ message }}
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.
I'm using a vdom based form with an input field on which I want to reset the value.
Unfortunately, it doesn't work since input.setAttribute('input', newValue) will not update the actual value but only the default one.
How should I solve this? Obtaining the real element and setting the value?
The text was updated successfully, but these errors were encountered:
Hi @svenefftinge, the way we have been handling this is to use the created element directly, for example in the menu. In light of the React re-license, we are considering moving to using React as a dependency and deprecating the Phosphor virtual dom, cf #302.
I'm using a vdom based form with an input field on which I want to reset the value.
Unfortunately, it doesn't work since
input.setAttribute('input', newValue)
will not update the actual value but only the default one.How should I solve this? Obtaining the real element and setting the value?
The text was updated successfully, but these errors were encountered: