maryUI version
2.8.0
daisyUI version
5.5.19
Livewire version
3.5.18
What browsers are affected?
Microsoft Edge
What happened?
When using inline (floating label mode) with required, the required asterisk (*) is not rendered in the floating label. It only appears in the non-inline label path.
Reproduction
Root Cause
The inline label span in all affected components does not include the required check:
{{-- Current (line ~108 in Input.php) --}}
@if ($label && $inline)
{{ $label }}
@endif
Expected
@if ($label && $inline)
{{ $label }}
@if($attributes->get('required'))
*
@endif
@endif
Affected Components
Input, Textarea, Select, SelectGroup, Password, Choices, ChoicesOffline, DatePicker, DateTime, Tags, Colorpicker — all share the same pattern.
maryUI version
2.8.0
daisyUI version
5.5.19
Livewire version
3.5.18
What browsers are affected?
Microsoft Edge
What happened?
When using inline (floating label mode) with required, the required asterisk (*) is not rendered in the floating label. It only appears in the non-inline label path.
Reproduction
Root CauseThe inline label span in all affected components does not include the required check:
{{-- Current (line ~108 in Input.php) --}}
@if ($label && $inline)
{{ $label }}
@endif
Expected
@if ($label && $inline)
{{ $label }}
@if($attributes->get('required'))
*
@endif
@endif
Affected Components
Input, Textarea, Select, SelectGroup, Password, Choices, ChoicesOffline, DatePicker, DateTime, Tags, Colorpicker — all share the same pattern.