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

Not able to edit the menu. On editing a menu item showing BadMethodCallException in the modal #14

Open
mthabsheer opened this issue Mar 28, 2024 · 0 comments

Comments

@mthabsheer
Copy link

While trying to edit the menu item getting below error:

Method SolutionForest\FilamentTree\Actions\EditAction::shouldOpenModal does not exist.

error

The error dissappears when I commented out the selected lines and uncomment the existing commented lines in the file located in the below path.

vendor\solution-forest\filament-tree\src\Concern\HasActions.php

I kept the below lines commented itself

// if ($action->shouldOpenModal()) { // return false; // }

Please see the code snippet below

error2

I am using this plugin for first time. Please guide if there is any thing to be done to make this function definition available in the code.

@mthabsheer mthabsheer changed the title Not able to edit the menu. On clicking the menu showing BadMethodCallException Not able to edit the menu. On editing a menu item showing BadMethodCallException in the modal Mar 28, 2024
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