x
1
2
3
4
<div class="flex"> <div class="flex items-center h-5"><input name="email" placeholder="Enter your email address" errors="is invalid cannot be blank" type="checkbox" class="w-4 h-4 text-blue-600 bg-slate-100 border-gray-300 focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-slate-700 dark:border-slate-600 rounded-sm"></input></div><div>{class: "ml-2 text-sm"}</div></div>
1
2
3
4
5
6
render(Fluxbit::Form::CheckboxInputComponent.new( label: "Email", name: "email", placeholder: "Enter your email address", errors: [ "is invalid", "cannot be blank" ]))
Renders a text input that displays error messages.
No params configured.