From eb21b191ed15e84cf9c1028cf3e550419002c8ed Mon Sep 17 00:00:00 2001 From: 2m411H <540351143@qq.com> Date: Tue, 10 Oct 2023 21:35:06 +0800 Subject: [PATCH] move content --- docs/content/3.forms/1.input.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/docs/content/3.forms/1.input.md b/docs/content/3.forms/1.input.md index e9eec48689..0078d8adec 100644 --- a/docs/content/3.forms/1.input.md +++ b/docs/content/3.forms/1.input.md @@ -72,6 +72,21 @@ props: --- :: +### Type + +Use the `type` prop to change the input type, the default `type` is set to `text`, you can check all the available types at [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types). + +We have improved the implementation of certain types such as [Checkbox](/forms/checkbox), [Radio](/forms/radio), etc. + +::component-card +--- +baseProps: + name: 'input' +props: + type: 'password' +--- +:: + ### Placeholder Use the `placeholder` prop to set a placeholder text. @@ -145,21 +160,6 @@ excludedProps: --- :: -### Type - -Use the `type` prop to change the input type, the default `type` is set to `text`, you can check all the available types at [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types). - -We have improved the implementation of certain types such as [Checkbox](/forms/checkbox), [Radio](/forms/radio), etc. - -::component-card ---- -baseProps: - name: 'input' -props: - type: 'password' ---- -:: - ## Slots ### `leading`