View | Details | Raw Unified | Return to bug 6473
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Elements/InputNumber.vue (-3 / +3 lines)
Lines 23-30 export default { Link Here
23
    setup(props, { emit }) {
23
    setup(props, { emit }) {
24
        const model = computed({
24
        const model = computed({
25
            get() {
25
            get() {
26
                return props.modelValue !== null &&
26
                return typeof props.modelValue !== "undefined" &&
27
                    props.modelValue !== undefined
27
                    props.modelValue !== null &&
28
                    props.modelValue !== ""
28
                    ? parseFloat(props.modelValue)
29
                    ? parseFloat(props.modelValue)
29
                    : props.modelValue;
30
                    : props.modelValue;
30
            },
31
            },
31
- 

Return to bug 6473