Skip to content

content: Inaccurate property for ion-input (Vue) #3796

Closed
@kennething

Description

@kennething

URL

https://ionicframework.com/docs/api/input#input-counter

Issue Description

The maxlength property of ion-input expects a number, not a string.

The current Vue example provides maxlength as a string.

<!--current example-->
<ion-input ... maxlength="20"></ion-input>

<!--correct implementation-->
<ion-input ... :maxlength="20"></ion-input>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssues related to bugs on the documentation website

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions