Skip to content

Commit

Permalink
fix(forms): default should use functions
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Dec 8, 2021
1 parent fb78162 commit 05c8f5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/forms/Input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default {
},
wrapperClass: {
type: String,
default: $ui.input.wrapper
default: () => $ui.input.wrapper
},
baseClass: {
type: String,
Expand Down
6 changes: 3 additions & 3 deletions src/components/forms/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ export default {
},
wrapperClass: {
type: String,
default: $ui.select.wrapper
default: () => $ui.select.wrapper
},
baseClass: {
type: String,
default: $ui.select.base
default: () => $ui.select.base
},
iconBaseClass: {
type: String,
default: $ui.select.icon.base
default: () => $ui.select.icon.base
},
customClass: {
type: String,
Expand Down
4 changes: 2 additions & 2 deletions src/components/forms/Textarea.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ export default {
},
wrapperClass: {
type: String,
default: $ui.textarea.wrapper
default: () => $ui.textarea.wrapper
},
baseClass: {
type: String,
default: $ui.textarea.base
default: () => $ui.textarea.base
},
customClass: {
type: String,
Expand Down

1 comment on commit 05c8f5d

@vercel
Copy link

@vercel vercel bot commented on 05c8f5d Dec 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.