I have a form with inputs being either standard LWC inputs or custom lookups.
I want to validate the form and report error back to the user.
I use this.template.querySelector
to get the inputs and want to call setCustomValidity
on the standard inputs, and a different method on the custom lookups.
How can I test if the proxy returned from querySelector has the setCustomValidity
method? hasOwnProperty
does not work.