pub fn NumberField(props: NumberFieldProps) -> impl IntoViewExpand description
A numeric field that evaluates arithmetic expressions, supports drag-to-scrub on its
label, optional reset-to-default, clamping to min/max, integer rounding, and live
validation. Emits (value, committed) through on_change, where committed marks
the final value on blur, Enter, or scrub end.
§Required Props
- label:
impl Into<String> - value:
Signal<f64> - on_change:
Callback<(f64, bool)>
§Optional Props
- step:
f64 - min:
f64 - max:
f64 - integer:
bool - help:
impl Into<String> - error:
impl Into<String> - disabled:
impl Into<Signal<bool>> - default:
f64 - validate:
Callback<f64, Option<String>>