jquery / jquery/jquery-ui

Combobox Widget - Triangle Drop Down Icon Missing

Open
#2,356 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Comp: Autocomplete Needs info
Dominant language
JavaScript
Stars
11.3k
Forks
5.2k
PR merge metrics
No merged PRs in 30d

Description

When creating a combobox like so:
$("#Item").combobox();

The created combobox does not have the triangle icon to the right of the combobox to allow users to open the dropdown.

The following span items are automatically created in earlier versions of jquery-ui which display the icon:

<span class="ui-button-icon ui-icon ui-icon-triangle-1-s"></span>
<span class="ui-button-icon-space"></span>

The issue is not that these icons don't exist, but rather that when .combobox() is called against an element, these items are not generated by the code.

Noticing the trend of a developer asking what version this issue started on:
This issue is NOT present in Jquery UI 1.13.2
This issue IS present in Jquery UI 1.14.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the combobox widget implementation in jQuery UI 1.13.2 and 1.14.1, focusing on the code that creates the dropdown button. Reproduce the issue with $("#Item").combobox() and verify that the button includes the triangle icon spans; done means the icon is generated as in the earlier version.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.