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: InputText in body Slot does not allow space character #4045

Closed
martinfruehmorgen opened this issue Jun 11, 2023 · 1 comment
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@martinfruehmorgen
Copy link

martinfruehmorgen commented Jun 11, 2023

Describe the bug

While editing any value in the "size" column with the InputText component it is not possible to enter space, all other characters work.
The slots (#body, #editor) like descriped in the api (https://primevue.org/treetable/#api.column.slots) are not fully integrated.

Reproducer

https://stackblitz.com/edit/ygrc7m?file=src%2FApp.vue

PrimeVue version

3.39.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

  1. Try to enter with the keyboard in any cell in the size column some text with space, f.e. "test 1 2 3".
  2. The space character is not possible to enter.

Expected behavior

All characters should be possible to enter. The slots like in the api description should be fully existing.

@martinfruehmorgen martinfruehmorgen added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 11, 2023
@Antmatveev
Copy link

The same behavior can be seen DataTable in slot "header", in other slots everything is fine.

<DataTable>
    <template #header>
        <input v-model="inputModel"> // spaces aren't printed
    </template>

    <template #footer>
        <input v-model="inputModel"> // spaces are printed
    </template>
</DataTable>

@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 2, 2023
@mertsincan mertsincan added this to the 3.45.0 milestone Dec 19, 2023
@mertsincan mertsincan self-assigned this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

4 participants