Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HasMany relation doesn't work #5825

Open
SVVladymyr opened this issue Dec 12, 2023 · 0 comments
Open

HasMany relation doesn't work #5825

SVVladymyr opened this issue Dec 12, 2023 · 0 comments

Comments

@SVVladymyr
Copy link

Laravel version

9.0

PHP version

8.1.25

Voyager version

1.6.0

Database

MySQL 8.0

Description

I have added a hasMany relation to the Category model (a category - multiple courses).
Screenshot from 2023-12-12 18-32-24
I can't select any course when I edit a category, I see a list courses only.
Screenshot from 2023-12-12 18-34-10

Steps to reproduce

Add a hasMany relation and try to select multiple relations.

Expected behavior

The ability to select some courses when editing a category.

Screenshots

Screenshot from 2023-12-12 18-34-10
Screenshot from 2023-12-12 18-32-24

Additional context

No response

@SVVladymyr SVVladymyr changed the title HasMamy relation doesn't work HasMany relation doesn't work Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant