-
Notifications
You must be signed in to change notification settings - Fork 31
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
Implementation of SingleSelect with filter function #6546
base: develop
Are you sure you want to change the base?
Conversation
Netlify Draft Deployment |
…694-feature-singleselect-component
ed62da1
to
fc7bc9f
Compare
07a0e84
to
6316653
Compare
6316653
to
25063a5
Compare
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.
Steht vermutlich nicht im Ticket, aber wir sollten neue Inputs immer auch in den entsprechenden Szenarien ergänzen:
- inputs-get-value
- static-form
- focus-elements
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.
Könntest du die Events anhand der Szenarien bitte einmal durchtesten und korrigieren:
- bei
onInput
bekomme ich numbers statt der Werte. - ich sehe teilweise Exceptions.
- bei meinem letzten Test bekam ich
false
als Wert.
Falls du die Fehler nicht reproduzieren kannst geb gerne noch mal Bescheid, dann dokumentiere ich die Schritte genauer!
![image](https://private-user-images.githubusercontent.com/971072/345857727-341c46e4-2d4a-48f8-9731-79224cf2d6a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3NTUyMDAsIm5iZiI6MTcyMTc1NDkwMCwicGF0aCI6Ii85NzEwNzIvMzQ1ODU3NzI3LTM0MWM0NmU0LTJkNGEtNDhmOC05NzMxLTc5MjI0Y2YyZDZhMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyM1QxNzE1MDBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zZGY4MWMxNDRlZjNlZjUxYThhYjc1NTAzMTdmMWE1NjM2MTI1MzkxZDZlYWM5YTdkMTVhOWI3ZTI4YmNjOWMwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.7hFUn5AJU1GjIx7yi6i6cEjfY9InQ4VS72PsI0or04Y)
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.
packages/samples/react/src/components/single-select/partials/variants.tsx
Outdated
Show resolved
Hide resolved
…694-feature-singleselect-component
5f47669
to
e5ddecb
Compare
$ Refs: #3694
private _showNoResultMessage: boolean = false; | ||
|
||
@Listen('click', { target: 'window' }) | ||
handleWindowClick(event: MouseEvent) { |
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.
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.
Mir ist leider auch noch eine Regression aufgefallen:
Ich kann den Pfeil für die Auswahlliste nicht mehr mit Enter
öffnen. Hierbei wird jetzt das Eingabefeld fokussiert.
✅
…com/public-ui/kolibri into 3694-feature-singleselect-component
…694-feature-singleselect-component Refs: #3694
…com/public-ui/kolibri into 3694-feature-singleselect-component
$ Refs: #3694
Es gibt noch ein Problem mit dem Fokus-Verschieben mit der Maus. Zum Reproduzieren:
Soll: Die letzte Option in der Liste ist fokussiert. |
…com/public-ui/kolibri into 3694-feature-singleselect-component
|
||
private readonly catchRef = (ref?: HTMLInputElement) => { | ||
this.refInput = ref; | ||
propagateFocus(this.host, this.refInput); |
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.
Hier müssen wir noch auf die neue Methode, kolFocus
umstellen. Das kann ich übernehmen.
Refs: #3694