Amin Alaee

Results 230 comments of Amin Alaee

Hey, Thanks for the great explanation. I agree that this is a common use case. But just an idea, does it make sense to use column_formatter instead of column_type_formatters?

> type formatters apply to list and detail views. The docs suggest there are separate column_formatters and column_formatters_detial. Haven't looked into the code for these though. Yes that's right. Yeah...

You are right in most of the assumptions, and yes this usage is not intended, so I think you have two options: - create a custom view for this model,...

Any suggestions how to implement this to avoid such problems? Open to ideas and PRs.

I think you can give it a try, reproducing it should be simple with this example: https://github.com/aminalaee/sqladmin/issues/681#issue-2033198325

I just tested around and remembered my last attempt why I didn't implement this. The URL builder can't always rely on `request.path_params` because sometimes we build URL from one model...

Thanks for the initiative, but I'm still not sure if this is the best way to tackle this. Even with this PR, it's still needs some hacking to make it...

Interesting, it is kind of similar to the identity we have, we just get it in a different way, but probably flask-admin is storing the endpoint:model mapping somewhere so it...

This is an interesting one, I think we can just add different CSS classes for different components and allow them to be configured via the Admin instance, I'll look into...

@hasansezertasan Could we still Jinja2 templates and WTForms with the HTMX approach? I don't know much about HTMX but I want to make sure we are not going in the...