PolyHunter

MissionDurationField

Whole-number completion duration with explicit hours/days selection. The quantity uses shared NumberInput; unit choices can be segmented or a dropdown. Mobile stacks the fields to preserve readable values and accessible controls.

Playground

Live preview

Required. Choose whole hours or days, from 1 hour up to 30 days. The clock starts when a Hunter takes the mission and pauses during review.

Unit presentations

Segmented — default

Required. Choose whole hours or days, from 1 hour up to 30 days. The clock starts when a Hunter takes the mission and pauses during review.

Select

Required. Choose whole hours or days, from 1 hour up to 30 days. The clock starts when a Hunter takes the mission and pauses during review.

States

Empty required duration

Required. Choose whole hours or days, from 1 hour up to 30 days. The clock starts when a Hunter takes the mission and pauses during review.

Maximum days

Required. Choose whole hours or days, from 1 hour up to 30 days. The clock starts when a Hunter takes the mission and pauses during review.

Disabled

Required. Choose whole hours or days, from 1 hour up to 30 days. The clock starts when a Hunter takes the mission and pauses during review.

Code

<MissionDurationField value={value} unit={unit} onValueChange={setValue} onUnitChange={setUnit} />

Used in

Includes use through shared UI components.

App