Skip to content

Conversation

@kesselb
Copy link
Collaborator

@kesselb kesselb commented Nov 20, 2025

Summary

Before: Check/Uncheck does not alter the state
After: It does

Screenshot From 2025-11-20 18-33-02

(in the screenshot contacts is fixed and events not to demo; pr fixes both)

Checklist

@kesselb kesselb added this to the Nextcloud 33 milestone Nov 20, 2025
@kesselb kesselb self-assigned this Nov 20, 2025
@kesselb kesselb requested a review from a team as a code owner November 20, 2025 17:41
@kesselb kesselb added the bug label Nov 20, 2025
@kesselb kesselb requested review from nfebe and susnux and removed request for a team November 20, 2025 17:41
@kesselb kesselb added the 3. to review Waiting for reviews label Nov 20, 2025
@kesselb kesselb requested review from a team, ChristophWurst, GVodyanov, hamza221 and szaimen and removed request for ChristophWurst November 20, 2025 17:41
<div class="example-contact-settings">
<NcCheckboxRadioSwitch
:checked="enableDefaultContact"
:modelValue="enableDefaultContact"
Copy link
Contributor

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

Suggested change
:modelValue="enableDefaultContact"
:model-value="enableDefaultContact"

Copy link
Contributor

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

Copy link
Collaborator Author

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?

@kesselb kesselb force-pushed the bug/noid/checked-state-for-example-content branch from 0f2b9e1 to 5adaac8 Compare November 21, 2025 14:52
Signed-off-by: Daniel Kesselberg <[email protected]>
Signed-off-by: Daniel Kesselberg <[email protected]>
@kesselb kesselb force-pushed the bug/noid/checked-state-for-example-content branch from 5adaac8 to 6c7e27c Compare November 21, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants