Skip to content

Commit c26365b

Browse files
chore: rename form accept-charset attribute (#16478)
* chore: rename form accept-charset attribute * chore: utf-8 to lowercase Co-authored-by: Rich Harris <[email protected]> * Update .changeset/healthy-carpets-deny.md --------- Co-authored-by: Rich Harris <[email protected]>
1 parent 8e2f4b5 commit c26365b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/healthy-carpets-deny.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte': patch
3+
---
4+
5+
fix: rename form accept-charset attribute

packages/svelte/elements.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ export interface HTMLFieldsetAttributes extends HTMLAttributes<HTMLFieldSetEleme
996996
}
997997

998998
export interface HTMLFormAttributes extends HTMLAttributes<HTMLFormElement> {
999-
acceptcharset?: string | undefined | null;
999+
'accept-charset'?: 'utf-8' | (string & {}) | undefined | null;
10001000
action?: string | undefined | null;
10011001
autocomplete?: AutoFillBase | undefined | null;
10021002
enctype?:

0 commit comments

Comments
 (0)