Skip to main content

NumberField

Function NumberField 

Source
pub fn NumberField(props: NumberFieldProps) -> impl IntoView
Expand 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

§Optional Props