- Issue created by @coaston
-
PatrickScheffer β
committed c5de1ad0 on 8.x-1.x
Issue #3337665: Paragraph select list or entity reference
-
PatrickScheffer β
committed c5de1ad0 on 8.x-1.x
- Status changed to Needs review
almost 2 years ago 1:21pm 6 February 2023 - π³π±Netherlands PatrickScheffer
I pushed a fix for the entity reference in the 8.x-1.x branch, can you verify if it works?
For the select list you should use the option key in the template. - πΈπ°Slovakia coaston
Hello,
Thank you - it works fine for autocomplete,
.....but once I select different widget like the select list (if used with taxonomy) - this does not work. - π³π±Netherlands PatrickScheffer
Alright, I rewrote the code so all entity references are supported in paragraphs, can you check again? Also, can you check if adding new paragraphs still work after applying a template? I encountered a bug saying "An illegal choice has been detected." when I tried to add a new paragraph. I fixed this in D10, but I think you're using D9 so it would be nice if you could test this.
- πΈπ°Slovakia coaston
Hello,
I can confirm entity reference also for other widgets forks fine.
However when it comes to add new paragraph - it is weirs. I do not see any issue, but if I select template where by default are for example 5 paragraphs already pre-filled as needed I and decide to add additional one when creating new content (not to change template, but just one time) - every time it removes all of them and keep just 2. When I choose a different template where for example 3 are and click "add additional" - it will remove the last one and keep 2.
so from some reason "add additional" button removes paragraphs and keep only 2. Basically now it is not possible to add additional one if needed if more then > 2 are in template. (it is but it removes the old and a new one can be added)
- π³π±Netherlands PatrickScheffer
Thanks for testing. I thought I fixed a bug by adding an AJAX call check, but that broke the AJAX calls themselves. I removed the check and solved the bug another way so everything should be fine now. Can you check again?
- πΈπ°Slovakia coaston
Thank you,
Now it seems it is working fine. I can remove/add or clone paragraphs so currently no bug found.
Great and fast job, much appreciated!
- Status changed to Fixed
almost 2 years ago 1:03pm 15 February 2023 - π³π±Netherlands PatrickScheffer
Glad to hear, I've released version 8.x-1.4 containing this fix.
- Status changed to Fixed
almost 2 years ago 10:06am 20 February 2023