nextcloud-vue icon indicating copy to clipboard operation
nextcloud-vue copied to clipboard

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

Open hschletz opened this issue 5 months ago • 0 comments

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 ;-)

hschletz avatar Sep 25 '24 11:09 hschletz