Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardHTMLsetFormValue setValiditySingle-choice MCQ

A form-associated custom element sets internals.setValidity({ valueMissing: true }, 'Required'). The page then sets the host's 'disabled' attribute. What is the effect on willValidate and whether the form's submission is blocked by this control?

internals.setValidity({ valueMissing: true }, 'Required'); host.setAttribute('disabled', '');