Page MenuHomePhabricator

Too easy to accidentally remove capsules by backspacing too far in CapsuleMultiSelectWidget
Closed, ResolvedPublic

Description

(Previously each category had its own input field, so the problem arose with the recent change of putting together all the categories in a single input box.)

backspacing should stop at the category border. It looks as if a category entry is treated just the same as a single character. One backspace too many and the previous category will also be deleted. backspace needs at least to pause considerably.

Situation:
Category 1 already entered (x) Category 2 already entered (x) Category 3 just being en

This is especially annoying in combination with the complicated way to add a category. One backspace too many and work is gone.

Event Timeline

Herzi.Pinki raised the priority of this task from to Needs Triage.
Herzi.Pinki updated the task description. (Show Details)
matmarex renamed this task from backspacing in the category input box of UW to Too easy to accidentally remove capsules by backspacing too far in CapsuleMultiSelectWidget.Dec 16 2015, 10:19 AM
matmarex triaged this task as Medium priority.
matmarex edited projects, added OOUI; removed UploadWizard, Multimedia.
matmarex set Security to None.
matmarex subscribed.

This is a problem with the underlying UI we're using. See also T119046.

Change 268075 had a related patch set uploaded (by Prtksxna):
OO.ui.CapsuleMultiSelectWidget: Edit instead of remove on backspace

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

Change 268075 merged by jenkins-bot:
OO.ui.CapsuleMultiSelectWidget: Edit instead of remove on backspace

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