You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update docs to match the original shadcn native-select page:
Default, Groups, Disabled, Invalid examples with descriptions.
Add Native Select vs Select comparison section.
renderDocs::VisualCodeExample.new(title: "Disabled",description: "Add the disabled attribute to the NativeSelect component to disable the select.",context: self)do
46
46
<<~RUBY
47
47
div(class: "grid w-full max-w-sm items-center gap-1.5") do
48
-
NativeSelect(size: :sm) do
48
+
NativeSelect(disabled: true) do
49
49
NativeSelectOption(value: "") { "Select a fruit" }
0 commit comments