x
1
2
3
<div class="c-input"> <input aria-invalid="false" aria-required="false" class="c-input__control" id="username" name="username" value="Sherlock Bones" type="text"></div>
1
render(Input::Component.new(id:, input_errors:, name:, value:))
Input With Errors
An input displaying errors.
Param | Description | Input |
---|---|---|
An array of error messages. |
|