Skip to content

Instantly share code, notes, and snippets.

@zmts
Created December 7, 2017 13:52
Show Gist options
  • Select an option

  • Save zmts/2aab35d7900e1f8a02e2786cec006b2a to your computer and use it in GitHub Desktop.

Select an option

Save zmts/2aab35d7900e1f8a02e2786cec006b2a to your computer and use it in GitHub Desktop.
Vuejs-datepicker disable dates

Vuejs-datepicker Disable dates

https://github.com/charliekassel/vuejs-datepicker

<Datepicker
  id="deadlineDate"
  placeholder="Select date"
  :mondayFirst="true"
  :format="format"
  :disabled="{ to: moment().subtract(1, 'days').toDate() }"
  v-model="deadline">
</Datepicker>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment