<div class="label"> <span class="label-text-alt text-error">This field is required</span>
</div>
@!jrmc.form.error({ text: 'This field is required' })
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 |