aminalaee / sqladmin

SQLAlchemy Admin for FastAPI and Starlette
https://aminalaee.dev/sqladmin/
BSD 3-Clause "New" or "Revised" License
1.88k stars 187 forks source link

Add an ability to add forms into actions #840

Open badger-py opened 2 days ago

badger-py commented 2 days ago

Checklist

Is your feature related to a problem? Please describe.

I want to be able to ask the admin panel user for a string when they chose to use an actions. in my specific case, it will be used to let the admin send the message to the user selected

Describe the solution you would like.

Some way to provide a form for the action and get this form when processing the action

Describe alternatives you considered

Creating a custom view or even a separate page but it will be much more comfortable, if this was just action functionality

Additional context

No response

aminalaee commented 2 days ago

https://aminalaee.dev/sqladmin/configurations/#custom-action