Synphonyte / leptos-struct-table

Easily create Leptos table components from structs
Apache License 2.0
154 stars 23 forks source link

Support impl CellValue on View without wrapper type #38

Closed dt-pa closed 3 months ago

dt-pa commented 3 months ago

The render_value method returns impl IntoView. It'd be great if CellValue is implemented on leptos_dom::View, and we can have a field like FieldGetter<View> directly. It's not possible currently without an extra wrapper type because of the orphan rule.

Thank you for the great work!

maccesch commented 3 months ago

Thanks for the nice words. I'll see what I can do