().unwrap_or_default()
});
view! {
"Underlying value: "{ value }
}
```
### InputNumber Props
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| class | `OptionalProp>` | `Default::default()` | Addtional classes for the input element. |
| value | `Model` | `T::default()` | Set the input value. |
| placeholder | `OptionalProp>` | `Default::default()` | Placeholder of input number. |
| step | `MaybeSignal` | | The number which the current value is increased or decreased on key or button press. |
| min | `MaybeSignal` | `T::min_value()` | The minimum number that the input value can take. |
| max | `MaybeSignal` | `T::max_value()` | The maximum number that the input value can take. |
| disabled | `MaybeSignal` | `false` | Whether the input is disabled. |
| invalid | `MaybeSignal` | `false` | Whether the input is invalid. |
| attr: | `Vec<(&'static str, Attribute)>` | `Default::default()` | The dom attrs of the input element inside the component. |
| parser | `OptionalProp>` | `Default::default()` | Modifies the user input before assigning it to the value |
| formatter | `OptionalProp>` | `Default::default()` | Formats the value to be shown to the user |
#### T impl
`T: Add