File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ def view_template
1515 autocomplete : "off" ,
1616 autocorrect : "off" ,
1717 spellcheck : "false" ,
18- class : "flex-1 bg-transparent outline-none placeholder:text-muted-foreground text-sm disabled:cursor-not-allowed" ,
18+ class : "flex-1 border-0 bg-transparent outline-none focus:ring-0 placeholder:text-muted-foreground text-sm disabled:cursor-not-allowed" ,
1919 data : {
2020 ruby_ui__combobox_target : "inputTrigger" ,
21- action : "focus->ruby-ui--combobox#openPopover keyup->ruby-ui--combobox#filterItems input->ruby-ui--combobox#filterItems"
21+ action : "keyup->ruby-ui--combobox#filterItems input->ruby-ui--combobox#filterItems"
2222 }
2323 )
2424 chevron_icon
@@ -32,7 +32,8 @@ def default_attrs
3232 class : "flex h-9 w-full items-center rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background focus-within:ring-2 focus-within:ring-ring focus-within:ring-offset-2 aria-invalid:border-destructive" ,
3333 data : {
3434 ruby_ui__combobox_target : "trigger" ,
35- placeholder : @placeholder
35+ placeholder : @placeholder ,
36+ action : "click->ruby-ui--combobox#openPopover"
3637 } ,
3738 aria : {
3839 haspopup : "listbox" ,
You can’t perform that action at this time.
0 commit comments