@iris-ui-kit/vue 0.2.3 → 0.2.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/dist/index.cjs CHANGED
@@ -4507,6 +4507,12 @@ var IrisNumberInput = vue.defineComponent({
4507
4507
  const rawText = vue.ref(
4508
4508
  props.modelValue === null || props.modelValue === void 0 ? "" : String(props.modelValue)
4509
4509
  );
4510
+ vue.watch(
4511
+ () => props.modelValue,
4512
+ (next) => {
4513
+ rawText.value = next === null || next === void 0 ? "" : String(next);
4514
+ }
4515
+ );
4510
4516
  const startValue = vue.computed(() => {
4511
4517
  if (Number.isFinite(props.min) && props.min !== -Infinity) return props.min;
4512
4518
  return 0;