Removed inline parameter of checkbox and select components

This commit is contained in:
the-djmaze 2022-11-22 10:17:46 +01:00
parent c503aaca1d
commit 63316be535
7 changed files with 16 additions and 34 deletions

View file

@ -36,9 +36,6 @@ export class AbstractApp {
createViewModel: (params, componentInfo) => {
params = params || {};
i18nToNodes(componentInfo.element);
if (params.inline) {
componentInfo.element.style.display = 'inline-block';
}
return new ClassObject(params);
}
}

View file

@ -7,7 +7,6 @@ export class CheckboxComponent {
: ko.observable(undefined === params.enable || !!params.enable);
this.label = params.label;
this.inline = params.inline;
}
click() {