Skip to content

[dropdown] clearable is not working when form is initialized with $('#form_id').form() #2791

@mvorisek

Description

@mvorisek

Bug Report

Steps to reproduce

  1. open https://jsfiddle.net/01y3cf9z/
  2. select some country
  3. notice there is no clearable icon even if the dropdown was initialized with $('#dd_id').dropdown({ 'clearable': true })
  4. notice when $('#form_id').form() is removed, the clearable icon is present with exactly the same steps as described above!

Expected result

$('#dd_id').dropdown({ 'clearable': true }) must imply clearable icon always present

Actual result

clearable icon is not present when form is initialized with Fomantic-UI JS

Screenshot (if possible)

image

Version

2.9.2 / latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugAny issue which is a bug or PR which fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions