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

9.x: NcSelect references nonexistent prop/variable 'value' #6121

Closed
hschletz opened this issue Sep 25, 2024 · 1 comment
Closed

9.x: NcSelect references nonexistent prop/variable 'value' #6121

hschletz opened this issue Sep 25, 2024 · 1 comment
Labels
bug Something isn't working feature: select Related to the NcSelect* components
Milestone

Comments

@hschletz
Copy link

The NcSelect component in 9.x has a computed property inputRequired() which references this.value which is not defined. It probably should be this.modelValue.

This results in warnings in the browser console:

Vue warn]: Property "value" was accessed during render but is not defined on instance. 
  at <Anonymous class="select select-max" modelValue=null components= {Deselect: {…}}  ... > 
  at <NcSelect ...

Additionally, the code probably won't work as expected ;-)

@ShGKme
Copy link
Contributor

ShGKme commented Jan 26, 2025

@ShGKme ShGKme closed this as completed Jan 26, 2025
@ShGKme ShGKme added bug Something isn't working feature: select Related to the NcSelect* components labels Jan 26, 2025
@ShGKme ShGKme added this to the 9.0.0-alpha.7 milestone Jan 26, 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 feature: select Related to the NcSelect* components
Projects
None yet
Development

No branches or pull requests

2 participants