From c83ff9315319c8a5af3091fa846ba677cacf4a0a Mon Sep 17 00:00:00 2001 From: Milos Paunovic Date: Thu, 10 Feb 2022 18:34:17 +0100 Subject: [PATCH] feat(docs): Improved QInput example to prevent issue #11423 #10376 #10362 #12431 (#12432) * 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). * Update input.md Co-authored-by: Razvan Stoenescu --- 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..bbd9bbf439c 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