Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): Improved QInput example to prevent issue duplicating issues #12432

Merged
merged 2 commits into from Feb 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/src/pages/vue-components/input.md
Expand Up @@ -74,6 +74,10 @@ Please check these resources for more information about native attributes (for i

As a helper, you can use `clearable` prop so user can reset model to `null` through an appended icon. The second QInput in the example below is the equivalent of using `clearable`.

::: warning
Won't work with `v-model` managed input modifiers such as `.trim` because in that case Vue doesn't handle `null` values.
:::

<doc-example title="Clearable" file="QInput/Clearable" />

### Input types
Expand Down