pub fn stepper_disabled(
current: i64,
step: i64,
min: Option<i64>,
max: Option<i64>,
) -> boolExpand description
Returns whether a stepper button has to be rendered as inert.
The stepper is inert when the step would carry the value past one of its
bounds, which is exactly the case where stepped_value yields None.
§Arguments
i64- The current value of the field.Option<i64>- The inclusive lower bound, orNonefor no bound.
§Returns
bool-truewhen the stepper cannot move the value.