Skip to content

Commit

Permalink
feat(docs): Improved QInput example to prevent issue #11423 #10376 #1…
Browse files Browse the repository at this point in the history
…0362 #12431 (#12432)

* fix(docs): Improved QInput example...

...to prevent issue duplicating

Related: [#11423, [#10376, [#10362 [#12431.

* Update input.md

Co-authored-by: Razvan Stoenescu <razvan.stoenescu@gmail.com>
  • Loading branch information
MilosPaunovic and rstoenescu committed 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
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.