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

Slot #Value, dropdown editable doesn't work #7068

Open
3 of 4 tasks
andrelec1 opened this issue Jan 9, 2025 · 2 comments
Open
3 of 4 tasks

Slot #Value, dropdown editable doesn't work #7068

andrelec1 opened this issue Jan 9, 2025 · 2 comments
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@andrelec1
Copy link

Describe the bug

Can't use slot #value on dropdown editable

Pull Request Link

No response

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

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

Environment

Vuejs, primevue, radash, vite ...

Vue version

3.4.21

PrimeVue version

3.52

Node version

23.5

Browser(s)

No response

Steps to reproduce the behavior

Create a dropdown, and override de rendering using the #value

Add the editable properties on the dropdown and see the slot not working anymore :/

Expected behavior

Slot rendering continue to be used ( with extra verification added in the template ( v-if like the exemple to display placeholder ... )

@andrelec1 andrelec1 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 9, 2025
@tugcekucukoglu tugcekucukoglu added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 20, 2025
@tugcekucukoglu tugcekucukoglu added this to the Future milestone Jan 20, 2025
@github-project-automation github-project-automation bot moved this to Review in PrimeVue Jan 20, 2025
Copy link

Due to PrimeTek's demanding roadmap for PrimeVue and the limited bandwidth of the core team, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨

@J-Michalek
Copy link
Contributor

@andrelec1 Could you go a little more in detail of what exactly you are trying to achieve? From my understanding you would like an option to set the default editable text into the input as the starting text value or is there more to it?

Currently when using the editable prop the value slot will not exist as there is no good way of transfering the contents of the slot into the text input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
Status: Review
Development

No branches or pull requests

3 participants