@simsustech/quasar-components 0.3.0 → 0.3.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 6d98116: fix: fix BooleanSelect input validation
8
+
3
9
  ## 0.3.0
4
10
 
5
11
  ### Minor Changes
package/dist/form.js CHANGED
@@ -430,7 +430,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
430
430
  const validations = ref([]);
431
431
  if (props.required)
432
432
  validations.value.push(
433
- (val) => !!val || lang2.value.validations.fieldRequired
433
+ (val) => val !== void 0 || lang2.value.validations.fieldRequired
434
434
  );
435
435
  return (_ctx, _cache) => {
436
436
  return openBlock(), createBlock(unref(QSelect), mergeProps(unref(attrs), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -49,7 +49,7 @@ const validations = ref<ValidationRule[]>([])
49
49
  if (props.required)
50
50
  validations.value.push(
51
51
  (val: { label: string; value: string }) =>
52
- !!val || lang.value.validations.fieldRequired
52
+ val !== void 0 || lang.value.validations.fieldRequired
53
53
  )
54
54
  defineEmits(['update:modelValue'])
55
55
  </script>