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

UX for multiple Links on a page incorrect #25

Open
vinstah opened this issue Feb 2, 2021 · 0 comments
Open

UX for multiple Links on a page incorrect #25

vinstah opened this issue Feb 2, 2021 · 0 comments

Comments

@vinstah
Copy link

vinstah commented Feb 2, 2021

Hello, I just noticed that when adding a has one link after having an existing many_many link you get both field types.
somehow the field is getting merged with both

SS 4.6

Page.php
$many_many = ['HeaderLinks' = Link::class];

WorkPage.php
$has_one = ['WorkLink' = Link::class];

on work page I var_dump'd the $this->isOneOrMany() function from Link class and got 'many', 'one'
DeepinScreenshot_select-area_20210203085419

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant