Skip to content

Commit

Permalink
move content
Browse files Browse the repository at this point in the history
  • Loading branch information
Sma11X committed Oct 10, 2023
1 parent 3d71dda commit eb21b19
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions docs/content/3.forms/1.input.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit eb21b19

Please sign in to comment.