Skip to content

Commit

Permalink
Added tab index to Date Input
Browse files Browse the repository at this point in the history
Added tab index to Date Input which is passed from parent
  • Loading branch information
sekarcse committed Jan 28, 2020
1 parent de0fc75 commit 425dad7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/DateInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
:disabled="disabled"
:required="required"
:readonly="!typeable"
:tabIndex = "tabIndex"
@click="showCalendar"
@keyup="parseTypedDate"
@blur="inputBlurred"
Expand Down Expand Up @@ -62,7 +63,11 @@ export default {
required: Boolean,
typeable: Boolean,
bootstrapStyling: Boolean,
useUtc: Boolean
useUtc: Boolean,
tabIndex: {
type: Number,
default: null
}
},
data () {
const constructedDateUtils = makeDateUtils(this.useUtc)
Expand Down

0 comments on commit 425dad7

Please sign in to comment.