-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When I create a new action, confirmation, submit_btn_class, submit_btn_text, form attributes are optional, and the action should work without them. However, if they are not provided, the action button does nothing when it is clicked, it doesn't call the action api.
To Reproduce
Create an action without confirmation, submit_btn_class, submit_btn_text, and form attributes
@action(
name="enable_action",
text="Enable Action",
)
async def enable_action(self, request: Request, pks: list[Any]) -> str:
return "Succeeded"Environment (please complete the following information):
- Starlette-Admin version: 0.15.1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working