From fd2d49de4f491268255697a714e17169c027732c Mon Sep 17 00:00:00 2001 From: zadam Date: Mon, 19 Oct 2020 20:22:30 +0200 Subject: [PATCH] fix display of checkboxes in promoted attributes, closes #1313 --- src/public/app/widgets/promoted_attributes.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/public/app/widgets/promoted_attributes.js b/src/public/app/widgets/promoted_attributes.js index 255554585..e7c29090e 100644 --- a/src/public/app/widgets/promoted_attributes.js +++ b/src/public/app/widgets/promoted_attributes.js @@ -173,6 +173,9 @@ export default class PromotedAttributesWidget extends TabAwareWidget { } else if (definition.labelType === 'boolean') { $input.prop("type", "checkbox"); + // hack, without this the checkbox is invisible + // we should be using a different bootstrap structure for checkboxes + $input.css('width', '80px'); if (valueAttr.value === "true") { $input.prop("checked", "checked");