diff options
-rw-r--r-- | .changeset/beige-zebras-ring.md | 5 | ||||
-rw-r--r-- | packages/astro/astro-jsx.d.ts | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/beige-zebras-ring.md b/.changeset/beige-zebras-ring.md new file mode 100644 index 000000000..f81f6aa6f --- /dev/null +++ b/.changeset/beige-zebras-ring.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Add support for autocomplete attribute to the HTML button type. diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index 46202644a..fd4632eae 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -627,6 +627,7 @@ declare namespace astroHTML.JSX { } interface ButtonHTMLAttributes extends HTMLAttributes { + autocomplete?: string | undefined | null; disabled?: boolean | string | undefined | null; form?: string | undefined | null; formaction?: string | undefined | null; |