diff --git a/.changeset/beige-zebras-ring.md b/.changeset/beige-zebras-ring.md new file mode 100644 index 000000000000..f81f6aa6fcfe --- /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 46202644a6a5..fd4632eaedc1 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;