Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: forward the class attribute to the searchbox wrapper.
  • Loading branch information
DrJKL committed Dec 12, 2025
commit f4e089b162e38a6811a522aa16344e059c915f8a
5 changes: 4 additions & 1 deletion src/components/common/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
:class="
cn(
'relative flex w-full items-center gap-2 bg-comfy-input cursor-text text-comfy-input-foreground',
customClass,
wrapperStyle
)
"
Expand Down Expand Up @@ -65,7 +66,8 @@ const {
filters = [],
autofocus = false,
showBorder = false,
size = 'md'
size = 'md',
class: customClass
} = defineProps<{
placeholder?: string
icon?: string
Expand All @@ -75,6 +77,7 @@ const {
autofocus?: boolean
showBorder?: boolean
size?: 'md' | 'lg'
class?: string
}>()

const emit = defineEmits<{
Expand Down
Loading