MW 1.35.1 / SMW 3.2.2 / PF 5.1
Steps to Reproduce:
- Enter a value in a tokens field
- Try to modify this value.
Actual Results:
You can't modify the value. :-(
Expected Results:
You can modify the value. ;-)
MW 1.35.1 / SMW 3.2.2 / PF 5.1
Steps to Reproduce:
Actual Results:
You can't modify the value. :-(
Expected Results:
You can modify the value. ;-)
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Enable double-click to edit tokens | mediawiki/extensions/PageForms | master | +4 -1 |
Well, it's possible, although it's a lot less convenient than before Select2 was upgraded: now, instead of double-clicking on a token value to change it, you have to bring it to the front of the list, then hit "delete", and the value becomes editable.
Change 670442 had a related patch set uploaded (by Sahajsk; owner: Sahajsk):
[mediawiki/extensions/PageForms@master] Enable double-click to edit tokens
Change 670442 merged by jenkins-bot:
[mediawiki/extensions/PageForms@master] Enable double-click to edit tokens
Well, double-clicking on tokens now "works" - although it doesn't work as well as it did before the Select2 upgrade of a year ago. Now, double-clicking on a token moves it to the end of the list, and makes it editable - whereas before, double-clicking used to keep values where they were, while making them editable. So I'm not sure whether this bug should be considered fixed, although this is at least a partial fix.
Sometimes double-clicking a token, with the intention of editing it, results in the removal of a token, which isn't really helpful.
I don't know yet if this behaviour is specific to longer values (40+ character values are not uncommon for me), token fields that don't allow for more than one token, or maybe to token fields in multiple-instance templates.