-
Or if not, this would be a very welcome addition. |
Beta Was this translation helpful? Give feedback.
Answered by
claviska
Jul 11, 2023
Replies: 1 comment 3 replies
-
There's nothing like that built in, but we do expose Is there a native counterpart to what you're asking for? I can't think of anything aside from comparing |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
khpss
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's nothing like that built in, but we do expose
getFormControls()
from the same module that you can use to get all native and Shoelace form controls in a form. That combined with thedefaultValue
property could get you pretty close.Is there a native counterpart to what you're asking for? I can't think of anything aside from comparing
defaultValue
tovalue
.