Skip to content

Allow customization of "node_invalid_placement" #15963

@Maryannah

Description

@Maryannah

Describe the problem

Breaking HTML

<select name="accountType" required id="type-input" value={profile}>
        <!-- Here -->
	<button>
		<selectedcontent />
	</button>

	{#each profiles as p}
		<option value={p.value}>{p.label}</option>
	{/each}
</select>

This is now valid HTML as seen on MDN :
https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Forms/Customizable_select#customizable_select_markup

Describe the proposed solution

Have the ability to customize the rule AT YOUR OWN RISKS

I think it's delusional to think you can list all quirks of the language and protect users from them, so I prefer to ask for customization rather than adding rule after rule until you cover all use cases.

Importance

would make my life easier

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions