x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div> <label class="Polaris-Choice"> <span class="Polaris-Choice__Control"> <span class="Polaris-Checkbox"> <input type="checkbox" id="" value="1" checked="checked" aria-checked="mixed" indeterminate="indeterminate" class="Polaris-Checkbox__Input Polaris-Checkbox__Input--indeterminate" /> <span class="Polaris-Checkbox__Backdrop"></span> <span class="Polaris-Checkbox__Icon"> <span class="Polaris-Icon"> <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path fill-rule="evenodd" d="M5 10c0-.414.336-.75.75-.75h8.5c.414 0 .75.336.75.75s-.336.75-.75.75h-8.5c-.414 0-.75-.336-.75-.75Z"></path></svg> </span> </span> </span> </span> <span class="Polaris-Choice__Label"> Indeterminate checkbox </span> </label></div>
1
<%= polaris_checkbox(label: "Indeterminate checkbox", checked: :indeterminate) %>
No notes provided.
No params configured.