-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
fix state for example content checkboxes #56562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| <div class="example-contact-settings"> | ||
| <NcCheckboxRadioSwitch | ||
| :checked="enableDefaultContact" | ||
| :modelValue="enableDefaultContact" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why the linter is not not red as props should be kebab-case
| :modelValue="enableDefaultContact" | |
| :model-value="enableDefaultContact" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning: 9:4 warning Attribute ':modelValue' must be hyphenated vue/attribute-hyphenation
Warning: 12:4 warning v-on event '@update:modelValue' must be hyphenated vue/v-on-event-hyphenation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add 'vue/v-on-event-hyphenation': 'error', to the eslint config?
0f2b9e1 to
5adaac8
Compare
Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
5adaac8 to
6c7e27c
Compare
Summary
Before: Check/Uncheck does not alter the state
After: It does
(in the screenshot contacts is fixed and events not to demo; pr fixes both)
Checklist
3. to review, feature component)stable32)