Open vinstah opened 3 years ago
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'
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'