From bdb7106d7d98a1747b3265cd2045cd14834e2b71 Mon Sep 17 00:00:00 2001 From: Milos Paunovic Date: Thu, 10 Feb 2022 16:42:19 +0100 Subject: [PATCH] fix(docs): Improved QInput example... ...to prevent issue duplicating Related: [https://github.com/quasarframework/quasar/issues/11423](https://github.com/quasarframework/quasar/issues/11423), [https://github.com/quasarframework/quasar/issues/10376](https://github.com/quasarframework/quasar/issues/10376), [https://github.com/quasarframework/quasar/discussions/10362](https://github.com/quasarframework/quasar/discussions/10362) [https://github.com/quasarframework/quasar/issues/12431](https://github.com/quasarframework/quasar/issues/12431). --- docs/src/pages/vue-components/input.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/src/pages/vue-components/input.md b/docs/src/pages/vue-components/input.md index 9d0b1705d21..6fa38a304ea 100644 --- a/docs/src/pages/vue-components/input.md +++ b/docs/src/pages/vue-components/input.md @@ -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. +::: + ### Input types