LearnNewsExamplesServices
Frontmatter
id4269
titlefield.Select: When clicking on the SelectField area other than the icon, the selectList/picker shows only the 1 item that is selected
stateClosed
labels
bug
assignees[]
createdAtApr 11, 2023, 10:34 AM
updatedAtApr 13, 2023, 10:31 AM
githubUrlhttps://github.com/neomjs/neo/issues/4269
authoralberthashani
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtApr 13, 2023, 10:31 AM

field.Select: When clicking on the SelectField area other than the icon, the selectList/picker shows only the 1 item that is selected

Closed v8.1.0 bug
alberthashani
alberthashani commented on Apr 11, 2023, 10:34 AM

Describe the bug field.Select: When clicking on the Select area other than the icon, the selectList/picker shows only the 1 item that is selected.

To Reproduce Steps to reproduce the behavior:

  1. Select one random item of a SelectField
  2. After selecting, Click on SelectField (not the icon, for example in the middle of the field)
  3. The Picker should now show only the 1 selected item

Config of the select field: { module: Select, cls: [ 'col-10-13'], placeholderText: 'Sort...', clearable: false, hideLabel: true, showOptionalText: false, required: false, editable: false, value: Neo.sortSelectedValue ? Neo.sortSelectedValue : null, listeners: { select: 'onSortFieldSelect' }, store: { data: [ { id: '1', name: 'A-Z' }, { id: '2', name: 'Z-A' } ] } }

alberthashani added the bug label on Apr 11, 2023, 10:34 AM
tobiu referenced in commit f212fe9 - "#4269 SelectField example inside the forms app" on Apr 12, 2023, 5:11 PM
tobiu
tobiu Apr 12, 2023, 7:41 PM

@alberthashani it took me quite a while, but i can reproduce it now. the issue happens in case we programatically set a value for the field.

tobiu referenced in commit 7d0c195 - "#4269" on Apr 13, 2023, 10:27 AM
tobiu closed this issue on Apr 13, 2023, 10:31 AM