File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,14 @@ def default_attrs
1919 ruby_ui__form_field_target : "input" ,
2020 action : "input->ruby-ui--form-field#onInput invalid->ruby-ui--form-field#onInvalid"
2121 } ,
22- class : "flex h-9 w-full rounded-md border bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:outline-none focus-visible:ring-1 disabled:cursor-not-allowed disabled:opacity-50 border-border focus-visible:ring-ring placeholder:text-muted-foreground"
22+ class : [
23+ "flex h-9 w-full rounded-md border bg-background px-3 py-1 text-sm shadow-sm transition-colors border-border" ,
24+ "placeholder:text-muted-foreground" ,
25+ "disabled:cursor-not-allowed disabled:opacity-50" ,
26+ "file:border-0 file:bg-transparent file:text-sm file:font-medium" ,
27+ "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring" ,
28+ "aria-disabled:cursor-not-allowed aria-disabled:opacity-50 aria-disabled:pointer-events-none"
29+ ]
2330 }
2431 end
2532 end
You can’t perform that action at this time.
0 commit comments