Skip to content

Commit

Permalink
fix(docs): Improved QInput example...
Browse files Browse the repository at this point in the history
  • Loading branch information
MilosPaunovic committed Feb 10, 2022
1 parent 656a42d commit bdb7106
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit bdb7106

Please sign in to comment.