Epic Django ModelChoiceField widget with Elm tutorial

Hi folks,

The ModelChoiceField widget in djelm Is a great way to render a fancy dropdown to replace the stock standard one that Django gives us when we create forms.

It has some superpowers to let us create some pretty great user experiences and I really wanted to show a step by step guide on how one might customize it. We go from Django project creation to Elm integration and finally end up with this epic select widget.

djelm-cs-mcf

There’s lots of Django and lots of Elm, was great fun to make and I hope it might interest folks in trying out Elm for the highly dynamic parts of their Django UI!

Check out the video here.

Thanks!

2 Likes

Nice work @Confidenceman02 — keep it coming! :gift: