Error when publish user in listing page dropdown #2703
Open
Description
Description
When trying to publish a user on the listing page, it returns an error.
The button in the dropdown also shows an incorrect state, when filtering Active
the button label should show Unpublish
, but is shows Publish
instead.
The active
value in the request payload is null
, it should be a boolean value.
I think this is the reason why the request returns an error.
Steps to reproduce
Install fresh Laravel and Twill, login as Superadmin user, go to CMS Users
, and on the listing page click the publish button in the three dots dropdown
Expected result
Publish or unpublish the specific user.
Actual result
Returns an error message "User was not published. Something wrong happened!"
Versions
Twill 3.4.1
Laravel 11.31
php8.3
sqlite
Metadata
Assignees
Labels
No labels