File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' svelte ' : patch
3+ ---
4+
5+ fix: ` method ` attribute is case insensitive
Original file line number Diff line number Diff line change @@ -892,7 +892,7 @@ export interface HTMLButtonAttributes extends HTMLAttributes<HTMLButtonElement>
892892 | 'text/plain'
893893 | undefined
894894 | null ;
895- formmethod ?: 'dialog' | 'get' | 'post' | undefined | null ;
895+ formmethod ?: 'dialog' | 'get' | 'post' | 'DIALOG' | 'GET' | 'POST' | undefined | null ;
896896 formnovalidate ?: boolean | undefined | null ;
897897 formtarget ?: string | undefined | null ;
898898 name ?: string | undefined | null ;
@@ -963,7 +963,7 @@ export interface HTMLFormAttributes extends HTMLAttributes<HTMLFormElement> {
963963 | 'text/plain'
964964 | undefined
965965 | null ;
966- method ?: 'dialog' | 'get' | 'post' | undefined | null ;
966+ method ?: 'dialog' | 'get' | 'post' | 'DIALOG' | 'GET' | 'POST' | undefined | null ;
967967 name ?: string | undefined | null ;
968968 novalidate ?: boolean | undefined | null ;
969969 target ?: string | undefined | null ;
@@ -1064,7 +1064,7 @@ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
10641064 | 'text/plain'
10651065 | undefined
10661066 | null ;
1067- formmethod ?: 'dialog' | 'get' | 'post' | undefined | null ;
1067+ formmethod ?: 'dialog' | 'get' | 'post' | 'DIALOG' | 'GET' | 'POST' | undefined | null ;
10681068 formnovalidate ?: boolean | undefined | null ;
10691069 formtarget ?: string | undefined | null ;
10701070 height ?: number | string | undefined | null ;
You can’t perform that action at this time.
0 commit comments