viewflow / django-material

Material Design for Django
http://viewflow.io/
BSD 3-Clause "New" or "Revised" License
2.49k stars 425 forks source link

AjaxMultipleModelSelect rendering is unpolished #509

Closed Zenonquest closed 2 years ago

Zenonquest commented 3 years ago

I'm having a few issues with the way that the AjaxMultipleModelSelect field is rendered.

  1. The label doesn't become active. It stays large and is positioned in the field. Clicking and typing into the field doesn't move the label to the top-left corner. The label ends up overlapping with the chips. See example from demo http://demo.viewflow.io/integration/sea/add/ image

  2. Original select field isn't hidden. The AjaxMultipleModelSelect field just renders below the default select field. May be an individual issue as this doesn't seem to be an issue in the demo. I've been writing my own JS function to hide the original select field (mimicking the behavior of AjaxModelSelect fields, which do render properly). image

Otherwise been mostly happy with the library. Thank you!

django-material-pro==1.7.6

kmmbvnr commented 3 years ago

Please contact over Zendesk for PRO version questions - http://viewflow.io/contacts

Looks like stlyes was clased with some your custom code, that makes select field looks different

https://github.com/viewflow/django-material/blob/master/material/static/material/css/materialize.css#L6708

kmmbvnr commented 2 years ago

I fixed the label positions for empty widgets, would be available in 1.10.0