You need to sign in to do that
Don't have an account?
beingofhabits
How to find required inputs on the component?
Attempted to solve this, using the following code:
Array.from(document.querySelectorAll('[required]'))
but it returns an empty array insted. Is there any beautiful solution, 'cause the only one I think about right now, is to use html classes and it seems to be a bad idea.
Any ideas, please