We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d2a4e2 commit 807646bCopy full SHA for 807646b
resources/views/select.blade.php
@@ -21,7 +21,7 @@
21
this.selectedIndex--
22
},
23
selectDown(component) {
24
- if (component.data.optionsValues.length - 1 === this.selectedIndex) {
+ if (component.optionsValues.length - 1 === this.selectedIndex) {
25
return
26
}
27
this.selectedIndex++
@@ -31,9 +31,9 @@
31
this.isOpen = true
32
33
confirmSelection(component) {
34
- const value = component.data.optionsValues.length === 1
35
- ? component.data.optionsValues[0]
36
- : component.data.optionsValues[this.selectedIndex]
+ const value = component.optionsValues.length === 1
+ ? component.optionsValues[0]
+ : component.optionsValues[this.selectedIndex]
37
38
if (!value) {
39
0 commit comments