diff --git a/docs/en-US/component/input.md b/docs/en-US/component/input.md index 9e169cc341..866c1e7f12 100644 --- a/docs/en-US/component/input.md +++ b/docs/en-US/component/input.md @@ -115,6 +115,14 @@ input/length-limiting ::: +## Count graphemes + +:::demo Set `count-graphemes` to `true` to count graphemes of input value. If it's set, native `maxlength` and `minlength` won't be used. + +input/count-graphemes + +::: + ## API ### Attributes diff --git a/docs/examples/input/count-graphemes.vue b/docs/examples/input/count-graphemes.vue new file mode 100644 index 0000000000..484e23378b --- /dev/null +++ b/docs/examples/input/count-graphemes.vue @@ -0,0 +1,27 @@ + + +