Skip to content

Commit 8e2abf2

Browse files
fix(input): vue counter example uses maxlength as a number (#3807)
Co-authored-by: Kenneth Ng <[email protected]>
1 parent 09ecaff commit 8e2abf2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

static/usage/v7/input/counter/vue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
```html
22
<template>
3-
<ion-input label="Default counter" label-placement="floating" :counter="true" maxlength="20"></ion-input>
3+
<ion-input label="Default counter" label-placement="floating" :counter="true" :maxlength="20"></ion-input>
44

55
<ion-input
66
id="custom-input"
77
label="Custom Counter Format"
88
label-placement="floating"
99
:counter="true"
10-
maxlength="20"
10+
:maxlength="20"
1111
:counter-formatter="customFormatter"
1212
></ion-input>
1313
</template>

static/usage/v8/input/counter/vue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
```html
22
<template>
3-
<ion-input label="Default counter" label-placement="floating" :counter="true" maxlength="20"></ion-input>
3+
<ion-input label="Default counter" label-placement="floating" :counter="true" :maxlength="20"></ion-input>
44

55
<ion-input
66
id="custom-input"
77
label="Custom Counter Format"
88
label-placement="floating"
99
:counter="true"
10-
maxlength="20"
10+
:maxlength="20"
1111
:counter-formatter="customFormatter"
1212
></ion-input>
1313
</template>

0 commit comments

Comments
 (0)