Skip to content

Conversation

DuckThom
Copy link

@DuckThom DuckThom commented Jan 4, 2019

While originally marked as fixed in #521, the correct syntax is kebab-case instead of camelCase in HTML attributes.

Using camelCase will make Vue show the following message in the console and the dates wont be disabled:

[Vue tip]: Prop "disableddates" is passed to component <Anonymous>, but the declared prop name is "disabledDates". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "disabled-dates" instead of "disabledDates".

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 1b61cdb on DuckThom:patch-1 into bf28bca on charliekassel:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants