Skip to content

[next] feat!: rename checked prop to modelValue#4994

Merged
raimund-schluessler merged 1 commit into
nextfrom
feat/noid/model-value
Dec 26, 2023
Merged

[next] feat!: rename checked prop to modelValue#4994
raimund-schluessler merged 1 commit into
nextfrom
feat/noid/model-value

Conversation

@raimund-schluessler

@raimund-schluessler raimund-schluessler commented Dec 25, 2023

Copy link
Copy Markdown
Contributor

☑️ Resolves

  • This PR makes use of the v-model capabilities new to vue 3. The checked prop of NcActionCheckbox, NcActionRadio and NcCheckboxRadioSwitch was renamed to modelValue so the component can be used easier by simply providing v-model="isChecked" instead of v-model:checked="isChecked".

Companion PR to #4990.

@raimund-schluessler raimund-schluessler changed the base branch from master to next December 25, 2023 09:30
@raimund-schluessler raimund-schluessler changed the title Feat/noid/model value [next] feat: rename checked prop to modelValue Dec 25, 2023
@raimund-schluessler raimund-schluessler added this to the 9.0.0 next Vue 3 milestone Dec 25, 2023
@raimund-schluessler raimund-schluessler changed the title [next] feat: rename checked prop to modelValue [next] feat: rename checked prop to modelValue Dec 26, 2023
@raimund-schluessler raimund-schluessler added feature: checkbox-radio-switch Related to the checkbox-radio-switch component enhancement New feature or request feature: actions Related to the actions components vue 3 labels Dec 26, 2023
@raimund-schluessler raimund-schluessler marked this pull request as ready for review December 26, 2023 06:58
@raimund-schluessler raimund-schluessler added the 3. to review Waiting for reviews label Dec 26, 2023
Comment thread src/components/NcAppSidebar/NcAppSidebarTabs.vue Outdated
Comment thread src/components/NcCheckboxRadioSwitch/NcCheckboxRadioSwitch.vue Outdated
@susnux susnux changed the title [next] feat: rename checked prop to modelValue [next] feat!: rename checked prop to modelValue Dec 26, 2023

@susnux susnux left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Agree with the comments about the kebab case but otherwise fine!

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
@raimund-schluessler

Copy link
Copy Markdown
Contributor Author

Agree with the comments about the kebab case but otherwise fine!

I fixed the kebab case issue. I should've known, since we use it like this every where else.

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 enhancement New feature or request feature: actions Related to the actions components feature: checkbox-radio-switch Related to the checkbox-radio-switch component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants