django-google-maps icon indicating copy to clipboard operation
django-google-maps copied to clipboard

Implement inline form widget #42

Open cyonii opened this issue 1 year ago • 2 comments

This makes it possible to use the widget in inline forms.

cyonii avatar Mar 02 '24 20:03 cyonii

Hi, thanks for your work! Love the idea of being able to use this in an inline. I do seem to run into trouble since the generated HTML id's for address and geolocation are -in my case- not called 'id_locations-0-address' but instead 'id_user_operator-0-address'.

RobKuipers avatar May 08 '24 22:05 RobKuipers

I've always considered that not everyone would use the same names for their location fields, but I stuck to what the original had, and also because it met my requirements. For now, I'd suggest adjusting the code locally to fit your project's needs.

cyonii avatar May 09 '24 11:05 cyonii