saadeghi/daisyui

bug: area not disabled when using: Text input with text label inside

crescent1 opened this issue · 1 comments

What version of daisyUI are you using?

v4.7.3

Which browsers are you seeing the problem on?

No response

Reproduction URL

https://play.tailwindcss.com/OAsyPadzrJ

Describe your issue

the disabled area not worked when using Text input with text label inside

example code

<!-- normal input disabled -->
<input type="text" placeholder="Type here" class="input input-bordered mb-4 w-full max-w-xs" disabled />

<!-- Text input with text label inside disabled -->
<label class="input input-bordered flex items-center gap-2">
  Name
  <input type="text" class="grow" placeholder="Daisy" disabled />
</label>

result
bug

Thank you @crescent1 for reporting issues. It helps daisyUI a lot 💚
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.