Project

General

Profile

Feature #10115

TypeAhead: static list

Added by Carsten Rose 5 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
Start date:
13.02.2020
Due date:
% Done:

100%

Estimated time:
Spent time:
Discuss:

Description

Neues Attribute: data-typeahead-list.

Inhalt JSON kodiert, genau wie die bisherige AJAX Response.

Associated revisions

Revision 52b564d0 (diff)
Added by Marc Egger 5 months ago

refs #10115 get suggestions from list an API works

Revision 44896163 (diff)
Added by Marc Egger 5 months ago

refs #10115 almost fixed, now some tags get lost some times

History

#1 Updated by Carsten Rose 5 months ago

  • Tracker changed from Support to Feature

#2 Updated by Marc Egger 5 months ago

  • Status changed from New to In Progress

#3 Updated by Marc Egger 5 months ago

  • Status changed from In Progress to New
  • Assignee changed from Marc Egger to Carsten Rose

Done. but only tested with mockup since Backend is not yet implemented.

If SIP attribute (data-typeahead-sip) and the static list are both given, then suggestions are taken from both sources.

Branch10115ThypeAheadStaticList2

Mockup: typeahead.php

Input HTML Attribute: data-typeahead-static-list

expected JSON string example: [{value: "Alaska", key: "AK"}, {value: "Alabama", key: "AL"}]

#4 Updated by Marc Egger 5 months ago

I've renamed the attribute from data-typeahead-tag-static-list to data-typeahead-static-list since it is not only for tag typeahead.

Branch: F9517TagInput

Also available in: Atom PDF