@redseed/redseed-ui-vue3 2.17.3 → 2.17.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "2.17.3",
3
+ "version": "2.17.4",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,12 +9,15 @@ defineOptions({
9
9
 
10
10
  const model = defineModel()
11
11
 
12
- const checked = ref(model.value || false)
12
+ const checked = ref(false)
13
+
14
+ checked.value = model.value
13
15
 
14
16
  const emit = defineEmits(['input'])
15
17
 
16
18
  function check(event) {
17
19
  checked.value = !checked.value
20
+ model.value = checked.value
18
21
  emit('input', event)
19
22
  }
20
23
  </script>