Page MenuHomePhabricator

Form field autocompletion values from category do not include subobjects when mapping property is used
Closed, DeclinedPublic

Description

I have a form with a field that provides autocompletion using values from a category. I have assigned the category used to determine the allowed values to a set of pages and subobjects. This field also uses the mapping property feature to display the value of a property instead of the page or subobject name.

The issue is that the values shown by autocompletion only include the pages, not the subobjects.

See this example (using this form) to demonstrate the issue.

Here is the form field definition:

{{{field|IN ACCORDANCE WITH|property=In accordance with|input type=tokens|class=IAW|list|delimiter=##|values from category=Can be referenced in accordance with|mapping property=Can be referenced in accordance with}}}

Event Timeline

Yaron_Koren subscribed.

Sorry for the anticlimactic end, after six years - but I think the current behavior is correct. A subobject of a page in a specific category does not itself necessarily belong to that category. Better would be to use "values from property", or something else that's similarly precise.