Sha256: f7c8309ba1d2c8e0f4f02c8a8ffde90689bea9a9fd9fc3bcba05c7d824a4bde6
Contents?: true
Size: 891 Bytes
Versions: 8
Compression:
Stored size: 891 Bytes
Contents
<p class="leading-7 [&:not(:first-child)]:mt-6">The Filter component introduces:</p> <ul class="my-6 ml-6 list-disc [&>li]:mt-2 text-sm"> <li><%= code("app/helpers/components/filter_helper.rb") %></li> <li><%= code("app/views/components/ui/_filter.html.erb") %></li> <li><%= code("app/javascript/controllers/ui/filter_controller.js") %></li> </ul> <p class="leading-7 [&:not(:first-child)]:mt-6"> The method <%= code("render_filter") %> method accepts one mandtory argument, an array of hashes that each have a <%= code("value") %> and name <%= code("name") %>.</p> <p class="leading-7 [&:not(:first-child)]:mt-6">You can optionally also call <%= code("filter_icon") %> within a block passed to <%= code("render_filter") %> to render an icon to the left of the filter input.</p> <p>This component gets used in the Combobox and Command components as well as potentially others.</p>
Version data entries
8 entries across 8 versions & 1 rubygems