diff --git a/docs/components/content/examples/InputExampleMaxLength.vue b/docs/components/content/examples/InputExampleMaxLength.vue new file mode 100644 index 00000000..4846bf64 --- /dev/null +++ b/docs/components/content/examples/InputExampleMaxLength.vue @@ -0,0 +1,15 @@ + + + diff --git a/docs/content/2.components/input.md b/docs/content/2.components/input.md index 38d9686d..bb1d4613 100644 --- a/docs/content/2.components/input.md +++ b/docs/content/2.components/input.md @@ -173,6 +173,13 @@ baseProps: --- :: +### Limit + +Use the `maxlength` prop to limit the length of the Input. + +:component-example{component="input-example-max-length"} + + ## Slots ### `leading`