django-crispy-forms / crispy-tailwind

A Tailwind template pack for django-crispy-forms
MIT License
329 stars 56 forks source link

Respect disabled property of ChoiceField #120

Closed geoffbeier closed 5 months ago

geoffbeier commented 2 years ago

When a ChoiceField is disabled, it should result in the rendered select element having the disabled attribute.

This partially addresses #118.

GitRon commented 6 months ago

I ran into the same issue. PR seems fine. How can we proceed with this? 🙂

GitRon commented 5 months ago

Hi @geoffbeier!

This was fixed in another issue and additionally, we added a grey background to show the user that the field is disabled. Still, thanks for your contribution!

If you find any other issues, feel free to raise a PR!

Best
Ronny

geoffbeier commented 5 months ago

Thanks for fixing it, @GitRon !