From 2ff99d3faa63e2cd2ae7e41dec0dbfed7335715e Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Thu, 10 Oct 2024 13:56:14 +0200 Subject: [PATCH] feat: define as global dense value --- src/boot/defaults/qInput.js | 4 ++++ src/boot/defaults/qSelect.js | 4 ++++ src/boot/quasar.defaults.js | 2 ++ 3 files changed, 10 insertions(+) create mode 100644 src/boot/defaults/qInput.js create mode 100644 src/boot/defaults/qSelect.js diff --git a/src/boot/defaults/qInput.js b/src/boot/defaults/qInput.js new file mode 100644 index 000000000..299b98718 --- /dev/null +++ b/src/boot/defaults/qInput.js @@ -0,0 +1,4 @@ +import { QInput } from 'quasar'; +import setDefault from './setDefault'; + +setDefault(QInput, 'dense', true); diff --git a/src/boot/defaults/qSelect.js b/src/boot/defaults/qSelect.js new file mode 100644 index 000000000..be0ba048a --- /dev/null +++ b/src/boot/defaults/qSelect.js @@ -0,0 +1,4 @@ +import { QSelect } from 'quasar'; +import setDefault from './setDefault'; + +setDefault(QSelect, 'dense', true); diff --git a/src/boot/quasar.defaults.js b/src/boot/quasar.defaults.js index c792100d7..9638e2057 100644 --- a/src/boot/quasar.defaults.js +++ b/src/boot/quasar.defaults.js @@ -1 +1,3 @@ export * from './defaults/qTable'; +export * from './defaults/qInput'; +export * from './defaults/qSelect';