diff --git a/koha-tmpl/intranet-tmpl/prog/js/vue/components/FormElement.vue b/koha-tmpl/intranet-tmpl/prog/js/vue/components/FormElement.vue index 4b9955e472..427bb562ab 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/vue/components/FormElement.vue +++ b/koha-tmpl/intranet-tmpl/prog/js/vue/components/FormElement.vue @@ -15,7 +15,7 @@ :required="attr.required ? true : false" /> - @@ -171,9 +186,11 @@ export default { }, computed: { getElementId() { - return this.attr.indexRequired - ? `${this.attr.name}_${this.index}` - : this.attr.name; + return this.attr.id + ? this.attr.id + : this.attr.indexRequired + ? `${this.attr.name}_${this.index}` + : this.attr.name; }, requiredComponent() { const component = this.identifyAndImportComponent(this.attr); @@ -238,4 +255,8 @@ input::-webkit-inner-spin-button { input[type="number"] { -moz-appearance: textfield; } + +.filters > input[type="radio"] { + min-width: 0 !important; +}