x
1
<div class="rpf-input-field"><label for="name" class="rpf-label">What is your name?<small class="rpf-label__hint">Please enter your first and last names</small></label><input id="name" value="Joe Bloggs" type="text" markdown_hint="false" class="rpf-input rpf-input-text"></div>
1
2
3
4
5
modifiers = [readonly ? :readonly : nil, disabled ? :disabled : nil, full_width ? 'full-width' : nil].compact
error = 'Error: Your name is required' if error
render DesignSystem::Form::TextInputComponent.new(label:, hint:, markdown_hint:, modifiers:, error:, id: :name,
value: 'Joe Bloggs')
Param Description Input