Synphonyte / leptos-struct-table

Easily create Leptos table components from structs
Apache License 2.0
164 stars 24 forks source link

select prop:value seems does not work #46

Closed skydig closed 4 months ago

skydig commented 4 months ago

[component]

[allow(unused_variables)]

pub fn InputCellRenderer( /// The class attribute for the cell element. Generated by the classes provider. class: String, /// The value to display.

[prop(into)]

value: MaybeSignal<String>,
/// Event handler called when the cell is changed. In this default renderer this will never happen.
on_change: F,
/// The index of the column. Starts at 0.
index: usize,

) -> impl IntoView where F: Fn(String) + 'static, { view! {