Skip to content

Commit 8a4d357

Browse files
authored
Merge pull request #24 from sean-yeoh/dev
Release v0.1.17
2 parents b3aeec1 + cd8bb5d commit 8a4d357

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [0.1.17] - 2025-07-08
2+
3+
### Fixed
4+
5+
- Combobox search_placeholder_text
6+
7+
18
## [0.1.16] - 2025-07-08
29

310
### Fixed

lib/shadcn_phlexcomponents/components/combobox.rb

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ def group(**attributes, &)
6666
ComboboxGroup(aria_id: @aria_id, **attributes, &)
6767
end
6868

69-
def empty(**attributes, &)
70-
ComboboxEmpty(**attributes, &)
71-
end
72-
7369
def items(collection, value_method:, text_method:, disabled_items: nil, &)
7470
vanish(&)
7571

@@ -229,7 +225,7 @@ def view_template(&)
229225
class: "sr-only",
230226
id: "#{@aria_id}-search-label",
231227
for: "#{@aria_id}-search",
232-
) { @search_placeholder }
228+
) { @search_placeholder_text }
233229

234230
div(class: "flex h-9 items-center gap-2 border-b px-3") do
235231
icon("search", class: "size-4 shrink-0 opacity-50")
@@ -238,7 +234,7 @@ def view_template(&)
238234
class: "placeholder:text-muted-foreground flex w-full rounded-md bg-transparent py-3 text-sm
239235
outline-hidden disabled:cursor-not-allowed disabled:opacity-50 h-9",
240236
id: "#{@aria_id}-search",
241-
placeholder: @search_placeholder,
237+
placeholder: @search_placeholder_text,
242238
type: :text,
243239
autocomplete: "off",
244240
autocorrect: "off",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module ShadcnPhlexcomponents
4-
VERSION = "0.1.16"
4+
VERSION = "0.1.17"
55
end

0 commit comments

Comments
 (0)