From 1c50065e6357d88133b71c7b730f1c247f61996c Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Mon, 25 Nov 2024 11:50:37 +0100 Subject: [PATCH 1/2] fix(NcActionRadio): change modelValue to behave like NcCheckboxRadioSwitch Signed-off-by: Maksim Sukharev --- .../NcActionRadio/NcActionRadio.vue | 47 ++++++++++++------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/src/components/NcActionRadio/NcActionRadio.vue b/src/components/NcActionRadio/NcActionRadio.vue index 03b0d273b1..1bb4dc97b4 100644 --- a/src/components/NcActionRadio/NcActionRadio.vue +++ b/src/components/NcActionRadio/NcActionRadio.vue @@ -10,27 +10,34 @@ So that only one of each name set can be selected at the same time. ```vue ``` @@ -41,8 +48,8 @@ So that only one of each name set can be selected at the same time. Date: Mon, 27 Jan 2025 13:19:54 +0100 Subject: [PATCH 2/2] chore: add hint to CHANGELOG.md Signed-off-by: Maksim Sukharev --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e27ab7f3f6..68c8d0ffbc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ - to `import NcButton from '@nextcloud/vue/components/NcButton'` The old import paths are still valid, but deprecated and will be removed in version 9. +* `NcActionRadio` is now expecting String|Number in `v-model` directive (to compare with passed `value`) instead of Boolean. Consider it for migration. + ## [v8.22.0](https://github.com/nextcloud-libraries/nextcloud-vue/tree/v8.22.0) (2024-12-20) [Full Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.21.0...v8.22.0)