Page MenuHomePhabricator

[Bug] When editing quantities, do not put the unit label in the input field
Closed, ResolvedPublic

Description

When generating a plain text representation of a quantity value for editing, that representation should not contain the unit label (for now), since we cannot parse that (yet). QuantityFormatter::OPT_APPLY_UNIT can be used to control this.

This is related to T95425 (conceptually different, but it related to the same code and mechanisms).

Event Timeline

daniel raised the priority of this task from to Needs Triage.
daniel updated the task description. (Show Details)
daniel added a subscriber: daniel.
Lydia_Pintscher set Security to None.
Lydia_Pintscher moved this task from incoming to ready to go on the Wikidata board.

@Jonas: Not sure how this relates to what you've done already. Please have a look.

Jonas renamed this task from When editing quantities, do not put the unit label in the input field to [Bug] When editing quantities, do not put the unit label in the input field.Aug 14 2015, 7:44 AM

Change 222597 had a related patch set uploaded (by Addshore):
Use QuantityInput expert

https://gerrit.wikimedia.org/r/222597

Change 222597 merged by jenkins-bot:
Use QuantityInput expert

https://gerrit.wikimedia.org/r/222597