We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
disabled
CSettingsItem
1 parent 3425dcd commit 9b07fdbCopy full SHA for 9b07fdb
src/components/CSettingsItem.vue
@@ -3,6 +3,7 @@
3
:prepend-icon="prependIcon"
4
:append-icon="clickable ? mdiChevronRight : undefined"
5
:ripple="clickable || type === 'switch'"
6
+ :disabled="disabled"
7
:to="to"
8
min-height="64"
9
class="px-md-8 px-5"
@@ -108,6 +109,11 @@ const props = withDefaults(
108
109
* Denotes the target route of the link. You can find more information about the `to` prop on the vue-router documentation.
110
*/
111
to?: RouteLocationRaw;
112
+
113
+ /**
114
+ * Removes the ability to click or target the component.
115
+ */
116
+ disabled?: boolean;
117
}>(),
118
{
119
type: "default",
0 commit comments