-
Notifications
You must be signed in to change notification settings - Fork 419
Editable combos don't show value list #1182 #1223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- show vale list on select, but keep filtering active on keytype
ed96891 to
a2a8f59
Compare
|
The updated commit keeps the filtering active while a key is pressed, but shows the full option list when the control is selected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works, but do you still have time left for adding a test case? If not, please open an issue for doing so.
| export class AutocompleteControlRenderer extends JsonFormsControl { | ||
| @Input() options: string[]; | ||
| filteredOptions: Observable<string[]>; | ||
| shouldNotFilter: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we remove the negation here and invert the logic here? It just keeps confusing me 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed 😁
I also change the event type that is used for updating the filter from key up to key down, as the first key was otherwise ignored.
- update filter on key down events, as the first key is otherwise ignored
|
I created #1239 for adding tests for this. |
Remove filter from autocomplete renderer.