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

TreeTable: Selection and editable cells do not allow spaces within the input fields #15497

Open
kartheininger opened this issue May 8, 2024 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@kartheininger
Copy link

Describe the bug

Using a TreeTable with selection in combination with editable cells does not allow "spaces" within the inputs.

High likely because the selection is somehow done via space.

Environment

Stackblitz, primeng issue template
https://github-xofatw.stackblitz.io
or editable:
https://stackblitz.com/edit/github-xofatw

Reproducer

https://stackblitz.com/edit/github-xofatw?file=src%2Fapp%2Fapp.component.html

Angular version

17.3.7

PrimeNG version

17.16.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.16.0

Browser(s)

No response

Steps to reproduce the behavior

https://github-xofatw.stackblitz.io

Try to edit the file size and try to enter a space

Expected behavior

Spaces should be possible ;)

@kartheininger kartheininger added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 8, 2024
@Sinan997
Copy link

Removing ttSelectableRow will solve your problem.

@kartheininger
Copy link
Author

Removing ttSelectableRow will solve your problem.

But then I cannot select the rows anymore by clicking on them? The problem is the combination of selection and inline-editing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants