Page MenuHomePhabricator

QuantityValueParser: Allow unit to be specified via options
Closed, ResolvedPublic

Description

QuantityValueParser should allow the quantity's unit to be fixed via the ParserOptions. If this option is set, providing a unit in the input string is considered an error.

The idea is to allow users to use a dedicated UI element for choosing a unit. The mechanism is the same we use for Calendars and Globes.

Related Objects

StatusSubtypeAssignedTask
OpenNone
ResolvedFeatureMichael
Resolveddaniel
OpenNone
ResolvedLydia_Pintscher
Resolvedthiemowmde
Resolveddaniel
OpenNone
Resolved Jonas
ResolvedLydia_Pintscher
Resolveddaniel
ResolvedNone
InvalidAddshore
Resolveddaniel
ResolvedNone
ResolvedLydia_Pintscher
ResolvedLadsgroup
OpenNone
ResolvedLadsgroup

Event Timeline

daniel raised the priority of this task from to Medium.
daniel updated the task description. (Show Details)
daniel changed Security from none to None.
daniel added subscribers: Aklapper, daniel.