Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit 5966dab

Browse files
authored
Merge pull request bootstrap-vue-next#1392 from xvaara/all-the-input-refs-exposed
Add input to expose on all form elements
2 parents 2eb461b + 8edd6de commit 5966dab

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

packages/bootstrap-vue-next/src/components/BFormCheckbox/BFormCheckbox.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,5 +200,6 @@ defineExpose({
200200
blur: () => {
201201
focused.value = false
202202
},
203+
input,
203204
})
204205
</script>

packages/bootstrap-vue-next/src/components/BFormFile/BFormFile.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,6 @@ defineExpose({
161161
focused.value = false
162162
},
163163
reset,
164+
input,
164165
})
165166
</script>

packages/bootstrap-vue-next/src/components/BFormRadio/BFormRadio.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,5 +176,6 @@ defineExpose({
176176
blur: () => {
177177
focused.value = false
178178
},
179+
input,
179180
})
180181
</script>

packages/bootstrap-vue-next/src/components/BFormSelect/BFormSelect.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,6 @@ defineExpose({
165165
blur: () => {
166166
focused.value = false
167167
},
168+
input,
168169
})
169170
</script>

packages/bootstrap-vue-next/src/components/BFormTags/BFormTags.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,5 +463,6 @@ defineExpose({
463463
blur: () => {
464464
focused.value = false
465465
},
466+
input,
466467
})
467468
</script>

packages/bootstrap-vue-next/src/components/BFormTextarea/BFormTextarea.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,6 @@ const computedStyles = computed<CSSProperties>(() => ({
100100
defineExpose({
101101
focus,
102102
blur,
103+
input,
103104
})
104105
</script>

0 commit comments

Comments
 (0)