<form>
<my-ce></my-ce>
</form>
<script>
class MyCe extends HTMLElement {
static formAssociated = true
}
customElements.define('my-ce', MyCe)
</script>
<form>
<my-ce></my-ce>
</form>
<script>
class MyCe extends HTMLElement {
static formAssociated = true
}
customElements.define('my-ce', MyCe)
</script>