Laravel-Backpack / CRUD

Build custom admin panels. Fast!
https://backpackforlaravel.com
MIT License
3.15k stars 891 forks source link

[Bug] Allow user to select multiple times the same pivot #5707

Open rezahmady opened 3 days ago

rezahmady commented 3 days ago

after fix this reported issue 5635 this feature stopped working Allow user to select multiple times the same pivot

pxpm commented 1 day ago

Hello @rezahmady thanks for the report.

Can you provide some reproduction steps ? (ideally a simple repository we can clone to test your code with only the relevant model/migrations and crud controllers to reproduce this scenario).

We have some tests in place, and they are passing https://github.com/Laravel-Backpack/CRUD/blob/dee2eeca96190ade092bc2777c95275ec3d4130c/tests/Unit/CrudPanel/CrudPanelCreateTest.php#L795

Cheers