DurationField
Since 0.1.0-alpha.20IzzyBlazor.DurationField<TValue> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.20 assembly
and its doc comments.
Properties (9)
Clearablebool = falseA button beside the boxes that empties them, for a nullable value, there while it holds something. Off by default.
ReadOnlybool = falseMakes the field read-only: it can be focused, and it still posts.
LargestUnitDurationUnit = DurationUnit.HoursThe largest unit with a box. Longer values show in it. Defaults to hours.
SmallestUnitDurationUnit = DurationUnit.SecondsThe smallest unit with a box. Defaults to seconds.
MinTimeSpan? (computed)The shortest length, checked on the server. Defaults to [Range]'s minimum. A negative one shows a sign.
MaxTimeSpan? (computed)The longest length, checked on the server. Defaults to [Range]'s maximum.
StepTimeSpan?The step of SmallestUnit's box, such as 15 minutes: whole units of it, under the next unit up. The browser checks it. One unit unless set.
@bind-ValueTValueThe value, bound with @bind-Value.
DisplayNamestring?The field's name in validation messages from the input itself, such as a value that can't be parsed.
Events (0)
No events.
Types (1)
DurationUnit
enumA unit with a box in a DurationField<T>.
| Value | Description |
|---|---|
Seconds | Seconds. |
Minutes | Minutes. |
Hours | Hours. |
Days | Days. |