HomePhabricator

Populate with entity's label on backspace.
a26121042dc1Unpublished

Authored by Greta Doçi <greta.doci@wikimedia.de> on Apr 4 2019, 11:36 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Populate with entity's label on backspace.

Override toString on the jQuery element that
we pass as the label attribute to OOUI's EditableTemplatedWidget,
which is expected to be a string.

This is a workaround fix. The proper fix is to find a way where
we do not pass a jQuery object.

Bug: T219318
Change-Id: I9b20aac5d55ca4413b0dc7277b0f0d9867592c30

Event Timeline

Greta Doçi <greta.doci@wikimedia.de> committed rEWLEa26121042dc1: Populate with entity's label on backspace. (authored by Greta Doçi <greta.doci@wikimedia.de>).Apr 4 2019, 11:36 AM