8000 [Dropdown] multiple issues with remote data and multiple · Issue #3199 · fomantic/Fomantic-UI · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Dropdown] multiple issues with remote data and multiple #3199
Closed
@mvorisek

Description

@mvorisek

Bug Report

repro: https://jsfiddle.net/5m1d6rjk/

In atk4/ui we have two components:

  • Dropdown - component /wo remote API, all data are listed in <div class="menu">
  • Lookup - component /w remote API, all data are loaded from URL

In the repro, I generated all html+js for all combinations, ie. Dropdown + Lookup, single + multiple, listed only + allow addition.

Dropdown seems to work as expected.

With Lookup, ie. Fomantic-UI dropdown without local data, I see multiple issues, but lets discuss them one by one.

"Lookup multiple" (as labeled/named in the repro)

Here the "set text" call is honored, but the text is not rendered "as entered option":

Image

I would expect:

Image

Am I using Fomantic-UI wrongly as is it a bug?

"Lookup multiple allow addition"

When "allowAdditions: false", then the text is displayed "as entered option", but not the text, but the value.

Image

I would expect:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    tag/next-release/nightlyAny issue which has a corresponding PR which has been merged and is available in the nightly buildtype/bugAny issue which is a bug or PR which fixes a bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0