<label class="label">
<span class="label-text">
What is your name? *</span>
</label>
@!jrmc.form.label({ text: 'What is your name?', required: true })
Doc : daisyui text input
Label is a simple label field.
Class name | Type | |
---|---|---|
label | Component | For helper text |
label-text | Component | For helper text |
label-text-alt | Component | For helper text |