<div><span class="label-text">
Lastname</span>
<div class="label-text">
Firstname</div>
<span class="label-text">
Email *</span>
</div>
<div>
@!jrmc.form.label.text({ text: 'Lastname' })
@!jrmc.form.label.text({as: 'div', text: 'Firstname' })
@!jrmc.form.label.text({text: 'Email', required: true })
</div>
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 |