zokis/django-materialize-forms

If the form contains a select field, we would have to initialize it with the following code

pulkitpahwa opened this issue · 0 comments

If the form contains a select field, we need to initialize it with the following code :

$(document).ready(function() { $('select').material_select(); });

In doing this, We'll also have to make sure that this is added only once even if there are multiple select fields in the form.

I will be working on it as soon as I get time, but for the time being I am just adding it manually in my project.

If you have time, you too can add this.