File tree Expand file tree Collapse file tree 8 files changed +26
-42
lines changed
Expand file tree Collapse file tree 8 files changed +26
-42
lines changed Original file line number Diff line number Diff line change 1+ ::: note
2+ This component is compatible with the standard ` <form> `
3+ element. For more information on form submission and client-side validation,
4+ please refer to the [ Working with forms] ( /guides/working-with-forms )
5+ section.
6+ :::
Original file line number Diff line number Diff line change @@ -4,20 +4,15 @@ title: Button
44
55import Demo from " @components/Demo.astro" ;
66import PageSwitcher from " @components/PageSwitcher.astro" ;
7+ import FormControlInfo from " @components/form-control-info.md" ;
78
89import Imports from " @components/examples/button/Imports.astro" ;
910import BasicExample from ' @components/examples/button/BasicExample.astro' ;
1011import CustomizedStyles from ' @components/examples/button/CustomizedStyles.astro' ;
1112
1213<Imports />
1314<PageSwitcher />
14-
15- :::note
16- This component is compatible with the standard ` <form> `
17- element. For more information on form submission and client-side validation,
18- please refer to the [ Working with forms] ( /guides/working-with-forms )
19- section.
20- :::
15+ <FormControlInfo />
2116
2217## Basic example
2318
Original file line number Diff line number Diff line change 22title : Checkbox
33---
44
5+ import FormControlInfo from " @components/form-control-info.md" ;
6+
57import Demo from " @components/Demo.astro" ;
68import PageSwitcher from " @components/PageSwitcher.astro" ;
79import Imports from " @components/examples/checkbox/Imports.astro" ;
810
911<Imports />
1012<PageSwitcher />
11-
12- :::note
13- This component is compatible with the standard ` <form> `
14- element. For more information on form submission and client-side validation,
15- please refer to the [ Working with forms] ( /guides/working-with-forms )
16- section.
17- :::
13+ <FormControlInfo />
1814
1915## Basic example
2016
Original file line number Diff line number Diff line change 22title : Multi Select
33---
44
5+ import FormControlInfo from " @components/form-control-info.md" ;
6+
57import Demo from " @components/Demo.astro" ;
68import PageSwitcher from " @components/PageSwitcher.astro" ;
79import Imports from " @components/examples/multi-select/Imports.astro" ;
@@ -11,13 +13,7 @@ import ComboboxExample from "@components/examples/multi-select/ComboboxExample.a
1113
1214<Imports />
1315<PageSwitcher />
14-
15- :::note
16- This component is compatible with the standard ` <form> `
17- element. For more information on form submission and client-side validation,
18- please refer to the [ Working with forms] ( /guides/working-with-forms )
19- section.
20- :::
16+ <FormControlInfo />
2117
2218## Basic example
2319
Original file line number Diff line number Diff line change 22title : Radio
33---
44
5+ import FormControlInfo from " @components/form-control-info.md" ;
6+
57import Demo from " @components/Demo.astro" ;
68import PageSwitcher from " @components/PageSwitcher.astro" ;
79import Imports from " @components/examples/radio/Imports.astro" ;
@@ -11,13 +13,7 @@ import VerticalExample from "@components/examples/radio/VerticalExample.astro";
1113
1214<Imports />
1315<PageSwitcher />
14-
15- :::note
16- This component is compatible with the standard ` <form> `
17- element. For more information on form submission and client-side validation,
18- please refer to the [ Working with forms] ( /guides/working-with-forms )
19- section.
20- :::
16+ <FormControlInfo />
2117
2218The Radio component is intended to select a single option from a set of options.
2319It is designed to be used together with the [ Radio Group] ( /components/radio-group ) component.
Original file line number Diff line number Diff line change 22title : Single Select
33---
44
5+ import FormControlInfo from " @components/form-control-info.md" ;
6+
57import Demo from " @components/Demo.astro" ;
68import PageSwitcher from " @components/PageSwitcher.astro" ;
79import Imports from " @components/examples/single-select/Imports.astro" ;
@@ -11,13 +13,7 @@ import ComboboxExample from "@components/examples/single-select/ComboboxExample.
1113
1214<Imports />
1315<PageSwitcher />
14-
15- :::note
16- This component is compatible with the standard ` <form> `
17- element. For more information on form submission and client-side validation,
18- please refer to the [ Working with forms] ( /guides/working-with-forms )
19- section.
20- :::
16+ <FormControlInfo />
2117
2218## Basic example
2319
Original file line number Diff line number Diff line change 11---
22title : Textarea
33---
4+ import FormControlInfo from " @components/form-control-info.md" ;
5+
46import Demo from " @components/Demo.astro" ;
57import PageSwitcher from " @components/PageSwitcher.astro" ;
68import Imports from " @components/examples/textarea/Imports.astro" ;
@@ -10,6 +12,7 @@ import MonospaceModeExample from "@components/examples/textarea/MonospaceModeExa
1012
1113<Imports />
1214<PageSwitcher />
15+ <FormControlInfo />
1316
1417:::note
1518This component is compatible with the standard ` <form> `
Original file line number Diff line number Diff line change 22title : Textfield
33---
44
5+ import FormControlInfo from " @components/form-control-info.md" ;
6+
57import Demo from " @components/Demo.astro" ;
68import PageSwitcher from " @components/PageSwitcher.astro" ;
79import Imports from " @components/examples/textfield/Imports.astro" ;
@@ -12,13 +14,7 @@ import FileInputExample from "@components/examples/textfield/FileInputExample.as
1214
1315<Imports />
1416<PageSwitcher />
15-
16- :::note
17- This component is compatible with the standard ` <form> `
18- element. For more information on form submission and client-side validation,
19- please refer to the [ Working with forms] ( /guides/working-with-forms )
20- section.
21- :::
17+ <FormControlInfo />
2218
2319## Basic example
2420
You can’t perform that action at this time.
0 commit comments