Page MenuHomePhabricator

values in list not shown by EditWithForm
Closed, ResolvedPublic

Description

Author: p.oranje

Description:
SF (r78190) does not show existing values of a field that contains multiples values separated by newlines. The template that the field belongs to, does show the values (with #arraymap) and when editing the wikitext with Edit (not with the form) then the existing values are present as well.

The fileld is defined as:

{{{field
|involved-experts
|input type=textarea|autogrow
|autocomplete on category=Expert
|list
|delimiter=\n
|remote autocompletion
}}}

In revision r77626 everything still works as expected.
BTW: Revisions r78129 and higher show different types of errors (bad display, wrong values in autocomplete pick list, etc); I've not investigated those errors, but only noticed them while searching for a revision that still worked with my wiki.


Version: unspecified
Severity: normal

Details

Reference
bz26318

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:21 PM
bzimport set Reference to bz26318.

Hi,

Yikes! Thanks for letting me know that. It looks like it was even worse than that - the current value of the field wasn't being set for any textarea that used autocomplete, regardless of the delimiter, and that's been the case for a while. I guess it just wasn't a popular feature... anyway, as far as I know, this is fixed now in SVN.

p.oranje wrote:

As usual, that's quick!
HEAD of trunk now seems to work as intended.
Thanks.