ts4nfdi / terminology-service-suite

The SemLookP Widgets project is a collection of interactive widgets designed to ease the integration of terminology service functions into third-party applications.
https://ts4nfdi.github.io/terminology-service-suite/comp/latest/
MIT License
12 stars 2 forks source link

Semantic Keywords/Tags Autocomplete widget #11

Open johannes-darms opened 11 months ago

johannes-darms commented 11 months ago

As a developer In order to allow users to add keywords/tags to a resource I want an autocomplete widget, that allows user to select more than one semantic concept. I want an autocomplete widget, that allows user to use the autocomplete feature multiple times, i.e. after selecting the first concept the autocomplete should be available to select another semantic concept I want an autocomplete widget, that allows user add free text (i.e. custom semantic concepts) if no matching concept is available.

VincentKneip commented 9 months ago

Free text is addable in the AutocompleteWidget when allowCustomTerms is true (can be switched on and off in Storybook). EuiComboBox includes a feature for multiple term selection by passing the singleSelection property. On a feature branch, I pushed a commit adding the same option for singleSelection as for allowCustomTerms in Storybook, allowing to select multiple concepts or not regulated by a boolean arg singleSelection:

grafik

Is this what you imagined?

rombaum commented 6 months ago

@johannes-darms is everthing solved in this case? If so please close the issue. Is something missing just wrote it down again.