Skip to content

Commit

Permalink
feat(docs): Improved QInput example to prevent issue quasarframework#…
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic and rstoenescu authored Feb 10, 2022
1 parent ad27458 commit c83ff93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/src/pages/vue-components/input.md
Original file line number Diff line number Diff line change
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

0 comments on commit c83ff93

Please sign in to comment.