Open phpMuhammed opened 4 years ago
Yeah, its a pitty, that this doesn't work.
@dillingham Any plans to make it work?
You can use/check my fork, I didn't have time to turn it to a proper PR candidate // @bernhardh
@CaddyDz Thanks for feedback. Maybe a stupid question, but how can I use your package? Its not on packagist, right?
I have added
"repositories": [
{
"type": "git",
"url": "https://github.com/CaddyDz/nova-button.git"
}
]
To my composer.json
, but I still get the dillingham version?
@bernhardh almost correct, replace "type": "git"
by "type": "vcs"
and make sure to place master
as the version
Thats not working. I think the reason is, that the dillingham master branch is "newer" then yours. He updated it 9 days ago. But thanks for your help, I have done another solution with the CustomEditHeader.vue
@bernhardh sorry I've been slammed.. I'll try to get this added soon
@dillingham: no problem.
I have now created a pull request with that feature plus moved code logic to mixin
@dillingham: Would be really nice if you could merge this?
@CaddyDz I just integrated your fork to replace this package and I am still not seeing the button on create/update forms
Button::make('BUTTON')->link('https://nova.laravel.com'),
Am I missing something?
You would think changing public property
$showOnCreation
on Button.php Line 22 to true would solve the issue but it doesn'tDoesn't do anything, still only shows on Detail screen