app/views/components/ui/_textarea.html.erb in shadcn-ui-0.0.1 vs app/views/components/ui/_textarea.html.erb in shadcn-ui-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
<textarea
class="flex min-h-[80px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 <%= options[:class] %>"
placeholder="<%= options[:placeholder] %>"
name="<%= name %>"
id="<% id %>"
- <%= options[:disabled] ? "disabled" : "" %>"
+ <%= options[:disabled] ? "disabled" : "" %>
<%= options[:required] ? "required" : "" %>
<%= options[:readonly] ? "readonly" : "" %>
<%= options[:rows] ? "rows" : "" %>></textarea>