Skip to content
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

🐞 Bug: KolSingleSelect Feld löst onClick-Event anstelle des erwarteten onInput-Events aus #7374

Open
ChrPtt opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
bug Something isn't working bwst Combobox Select v2 v3 Here are issues that need to be resolved for version 3.

Comments

@ChrPtt
Copy link

ChrPtt commented Feb 10, 2025

Link to the code that reproduces this issue:

https://stackblitz.com/edit/vitejs-vite-amnhu1tr?file=src%2FApp.tsx

Can you categorise where the error occurs?

React

Which browser or operating system do you used to test KoliBri?

Chrome

How to reproduce issue?

Im Reproduktionsbeispiel die Select-Optionen auswählen und auf Konsole oder der Ausgabe Event Typen überprüfen.

Current vs. Expected:

Interagieren Sie zuerst mit dem KolSelect (dem normalen Select-Feld). Wählen Sie verschiedene Optionen aus. Beobachten Sie die Ausgabe unterhalb der Select-Felder. Sie sollten sehen, dass das input-Ereignis ausgelöst wird und die korrekten Informationen (Ereignistyp, Feldname, Wert) angezeigt werden. Interagieren Sie jetzt mit dem KolSingleSelect. Wählen Sie verschiedene Optionen aus. Beobachten Sie die Ausgabe. Hier ist der Bug: Anstatt des onInput-Ereignisses wird das onClick-Ereignis hochgereicht. Das ist das falsche Ereignis für eine Wertänderung.

Environment informations:

bash { "Operating System": { "platform": "linux", "arch": "x64", "version": "5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36" }, "Binaries": { "node": "v18.20.3", "npm": "10.2.3", "pnpm": "8.15.6", "yarn": "1.22.19" }, "Relevant Packages": { "@public-ui/components": "2.2.5", "@public-ui/react": "2.2.5", "@public-ui/theme-default": "2.2.5", "react": "^18", "react-dom": "^18", "typescript": "^5" } }

@ChrPtt ChrPtt added the bug Something isn't working label Feb 10, 2025
@github-actions github-actions bot added v2 theme:All Issue appears on every theme Select labels Feb 10, 2025
@deleonio deleonio moved this to 🗂️ Backlog in KoliBri Board Feb 10, 2025
@deleonio deleonio added bwst Combobox v3 Here are issues that need to be resolved for version 3. and removed theme:All Issue appears on every theme labels Feb 15, 2025
@laske185 laske185 moved this from 🗂️ Backlog to 📄 Ready in KoliBri Board Feb 26, 2025
@anicyne anicyne self-assigned this Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bwst Combobox Select v2 v3 Here are issues that need to be resolved for version 3.
Projects
Status: 📄 Ready
Development

No branches or pull requests

3 participants