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

(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Dialog.vue (-2 / +4 lines)
Lines 38-43 Link Here
38
                                v-if="input.type == 'Text'"
38
                                v-if="input.type == 'Text'"
39
                                :id="`confirmation_input_${input.id}`"
39
                                :id="`confirmation_input_${input.id}`"
40
                                v-model="input.value"
40
                                v-model="input.value"
41
                                :required="input.required"
41
                            />
42
                            />
42
                        </div>
43
                        </div>
43
                    </div>
44
                    </div>
Lines 87-93 export default { Link Here
87
            if (
88
            if (
88
                this.confirmation.inputs &&
89
                this.confirmation.inputs &&
89
                this.confirmation.inputs.filter(
90
                this.confirmation.inputs.filter(
90
                    input => input.required && input.value == null
91
                    input =>
92
                        input.required &&
93
                        (input.value == null || input.value == "")
91
                ).length
94
                ).length
92
            ) {
95
            ) {
93
                this.$refs.confirmationform.reportValidity()
96
                this.$refs.confirmationform.reportValidity()
94
- 

Return to bug 34497