Is there an easy way to use select2_from_ajax_multiple
or similar nn
relation field in Laravel Backpack
which will support also creating new records if they do not exist?
What I am trying to achieve is tags
functionality, but without the need to go to the other model to define new tags and so on.
There's no such functionality built-in, no. There's a long talk about why a general solution is more complicated than it seems. It's a feature that Backpack most certainly will have, but it will probably be in Backpack 4, not the current one.
I'm afraid you're going to have to create a custom field type starting from select2_from_ajax_multiple
if you want this functionality now.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.