Skip to content

Commit

Permalink
fix(SelectCustom): icon name in prop only for now
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Jul 1, 2022
1 parent 6da0c28 commit 2e64343
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/runtime/components/forms/SelectCustom.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const props = defineProps({
},
icon: {
type: String,
default: () => $ui.selectCustom.icon
default: () => 'heroicons-solid:selector'
},
iconBaseClass: {
type: String,
Expand Down
1 change: 0 additions & 1 deletion src/runtime/presets/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ export default (variantColors: string[]) => {
const selectCustom = {
...select,
base: `${select.base} text-left cursor-default`,
icon: 'heroicons-solid:selector',
list: {
container: 'absolute z-10 mt-1 w-full py-1 max-h-60 overflow-auto',
base: 'u-bg-white shadow-lg rounded-md ring-1 u-ring-gray-200 focus:outline-none',
Expand Down

0 comments on commit 2e64343

Please sign in to comment.