Skip to content

Commit 425dad7

Browse files
authored
Added tab index to Date Input
Added tab index to Date Input which is passed from parent
1 parent de0fc75 commit 425dad7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/components/DateInput.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
:disabled="disabled"
2424
:required="required"
2525
:readonly="!typeable"
26+
:tabIndex = "tabIndex"
2627
@click="showCalendar"
2728
@keyup="parseTypedDate"
2829
@blur="inputBlurred"
@@ -62,7 +63,11 @@ export default {
6263
required: Boolean,
6364
typeable: Boolean,
6465
bootstrapStyling: Boolean,
65-
useUtc: Boolean
66+
useUtc: Boolean,
67+
tabIndex: {
68+
type: Number,
69+
default: null
70+
}
6671
},
6772
data () {
6873
const constructedDateUtils = makeDateUtils(this.useUtc)

0 commit comments

Comments
 (0)