django-autocomplete-light icon indicating copy to clipboard operation
django-autocomplete-light copied to clipboard

Use get_result_value when returning created object

Open matevz-ap opened this issue 3 years ago • 0 comments

This resolves https://github.com/yourlabs/django-autocomplete-light/issues/1300.

Currently the pk of new object is returned when a new option is created, regardless if you override get_result_value(). Use get_result_value() when returning new option from post()

matevz-ap avatar Sep 21 '22 12:09 matevz-ap