diff --git a/.changeset/flat-ducks-attack.md b/.changeset/flat-ducks-attack.md new file mode 100644 index 0000000000..9e643018e9 --- /dev/null +++ b/.changeset/flat-ducks-attack.md @@ -0,0 +1,5 @@ +--- +"@heroui/form": patch +--- + +changed form default validation behavior to native diff --git a/apps/docs/content/components/form/controlled.raw.jsx b/apps/docs/content/components/form/controlled.raw.jsx index 5e8efc9901..7160395070 100644 --- a/apps/docs/content/components/form/controlled.raw.jsx +++ b/apps/docs/content/components/form/controlled.raw.jsx @@ -13,7 +13,7 @@ export default function App() { }; return ( -
+ ); +} diff --git a/apps/docs/content/components/form/custom-validation-aria.ts b/apps/docs/content/components/form/custom-validation-aria.ts new file mode 100644 index 0000000000..f84220c7dd --- /dev/null +++ b/apps/docs/content/components/form/custom-validation-aria.ts @@ -0,0 +1,9 @@ +import App from "./custom-validation-aria.raw.jsx?raw"; + +const react = { + "/App.jsx": App, +}; + +export default { + ...react, +}; diff --git a/apps/docs/content/components/form/custom-validation.raw.jsx b/apps/docs/content/components/form/custom-validation.raw.jsx index 2d33795a0c..6c8dde5b1d 100644 --- a/apps/docs/content/components/form/custom-validation.raw.jsx +++ b/apps/docs/content/components/form/custom-validation.raw.jsx @@ -6,7 +6,7 @@ export default function App() { }; return ( -