Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat(MdDatepicker): override browser native pickers #1270

Merged
merged 4 commits into from
Dec 19, 2017

Conversation

Samuell1
Copy link
Member

@Samuell1 Samuell1 commented Dec 6, 2017

close #1267, #1260

this.showDialog = !this.showDialog
} else {
this.$refs.input.$el.click()
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to remove nested statement

if (!isFirefox || this.mdOverrideNative) {
  this.showDialog = !this.showDialog
} else {
  this.$refs.input.$el.click()
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request - option to override Firefox default datepicker
3 participants