Skip to content
IzzyBlazor 0.1.0-alpha.20

Enter all results ↑ ↓ move Esc close

DurationField

Since 0.1.0-alpha.20
A length of time, with a box for each unit.

IzzyBlazor.DurationField<TValue> in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.20 assembly and its doc comments.

Properties (9)

Clearablebool = falseAdded in 0.1.0-alpha.20

A button beside the boxes that empties them, for a nullable value, there while it holds something. Off by default.

ReadOnlybool = falseAdded in 0.1.0-alpha.20

Makes the field read-only: it can be focused, and it still posts.

LargestUnitDurationUnit = DurationUnit.HoursAdded in 0.1.0-alpha.20

The largest unit with a box. Longer values show in it. Defaults to hours.

SmallestUnitDurationUnit = DurationUnit.SecondsAdded in 0.1.0-alpha.20

The smallest unit with a box. Defaults to seconds.

MinTimeSpan? (computed)Added in 0.1.0-alpha.20

The shortest length, checked on the server. Defaults to [Range]'s minimum. A negative one shows a sign.

MaxTimeSpan? (computed)Added in 0.1.0-alpha.20

The longest length, checked on the server. Defaults to [Range]'s maximum.

StepTimeSpan?Added in 0.1.0-alpha.20

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-ValueTValueAdded in 0.1.0-alpha.20

The value, bound with @bind-Value.

DisplayNamestring?Added in 0.1.0-alpha.20

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

enum

A unit with a box in a DurationField<T>.

DurationUnit values
ValueDescription
Seconds

Seconds.

Minutes

Minutes.

Hours

Hours.

Days

Days.

Connection lost

Rejoining the server…