Frontmatter
| id | 5390 |
| title | form.field.ComboBox: does not hide the picker in case editable is false and opening it via a trigger click |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Apr 12, 2024, 12:57 PM |
| updatedAt | Apr 12, 2024, 12:57 PM |
| githubUrl | https://github.com/neomjs/neo/issues/5390 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 12, 2024, 12:57 PM |
@ExtAnimal
we have an override for
onPickerTriggerClick()which does not honor theeditableconfig.inside
form.field.Picker, we do haveonInputClick(), which triggerstogglePicker().so, when editable is set to false, at first
doFilter()gets called and then togglePicker(). it is a bit weird: after theshow()call, a hide() call follows in real time. while i can not tell why the picker is not getting hidden right away, the hidden config does get changed to true. the result is that laterhide()calls no longer work.to fix this, i will just override
togglePicker()to honordoFilter()and remove theonPickerTriggerClick()override. then editable true and false will both work again.