HomePhabricator

Populate with entity's label on backspace.

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

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 rEWLE1e98a748e823: Populate with entity's label on backspace. (authored by Greta Doçi <greta.doci@wikimedia.de>).Apr 4 2019, 1:42 PM