@@ -3,9 +3,6 @@ export const sharedProps = {
33 // ? The vertical alignment of the field //
44 alignItems : 'center' as const ,
55
6- // ? The api route to save the field - [ All Fields ] //
7- apiRoute : '' ,
8-
96 // ? The color of the cancel button - [ All Fields ] //
107 cancelButtonColor : 'default' ,
118
@@ -19,7 +16,7 @@ export const sharedProps = {
1916 cancelButtonVariant : 'tonal' as const ,
2017
2118 // ? The icon to use to cancel - [ All Fields ] //
22- cancelIcon : 'mdi:mdi-close' ,
19+ cancelIcon : undefined ,
2320
2421 // ? The color of the cancel icon - [ All Fields ] //
2522 cancelIconColor : 'default' ,
@@ -36,9 +33,6 @@ export const sharedProps = {
3633 // ? Disabled the field - [ All Fields ] //
3734 disabled : false ,
3835
39- // ? If true, the field will not save to the database. Emits update:model-value - [ All Fields ] //
40- doNotSave : false ,
41-
4236 // ? Text to display when the field is empty - [ v-textarea, v-text-field ] //
4337 emptyText : 'empty' ,
4438
@@ -54,6 +48,8 @@ export const sharedProps = {
5448 // ? The field label - [ All Fields ] //
5549 label : '' ,
5650
51+ loading : false ,
52+
5753 // ? The http method to use when saving the text field - [ All Fields ] //
5854 method : 'PUT' ,
5955
@@ -91,7 +87,7 @@ const saveAndLoadingIconProps = {
9187 hideSaveIcon : false ,
9288
9389 // ? The icon to use when loading //
94- loadingIcon : 'mdi:mdi-loading mdi:mdi-spin' ,
90+ loadingIcon : undefined ,
9591
9692 // ? The icon to use when loading //
9793 loadingIconColor : 'primary' ,
@@ -109,7 +105,7 @@ const saveAndLoadingIconProps = {
109105 saveButtonVariant : 'text' as const ,
110106
111107 // ? The icon to use to save //
112- saveIcon : 'mdi:mdi-content-save' ,
108+ saveIcon : undefined ,
113109
114110 // ? The icon to use to save //
115111 saveIconColor : 'primary' ,
@@ -121,7 +117,7 @@ const trueFalseIcons = {
121117 falseValue : false ,
122118
123119 // ? The false icon - [v-checkbox, v-switch] //
124- iconFalse : 'mdi:mdi-close' ,
120+ iconFalse : undefined ,
125121
126122 // ? The color of the icon when false - [v-checkbox, v-switch] //
127123 iconFalseColor : 'danger' ,
@@ -130,7 +126,7 @@ const trueFalseIcons = {
130126 iconFalseTitle : 'No' ,
131127
132128 // ? The true icon - [v-checkbox, v-switch] //
133- iconTrue : 'mdi:mdi-check' ,
129+ iconTrue : undefined ,
134130
135131 // ? The color of the icon when true - [v-checkbox, v-switch] //
136132 iconTrueColor : 'success' ,
@@ -176,7 +172,7 @@ const selectProps = {
176172 ...saveAndLoadingIconProps ,
177173 ...{
178174 // ? The icon to use to clear the field //
179- clearIcon : 'mdi:mdi-close-circle-outline' ,
175+ clearIcon : undefined ,
180176
181177 // ? If true, the field will be clearable //
182178 clearable : false ,
0 commit comments