Commit 9f0871af7f69e86cd67480d02544ba4772b7b958
Committed by
GitHub
1 parent
4bbc4831
Update field alignment on init, not only on resize; prevent dispaying in a row, …
…when fields should be displayed in a column (#2434)
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -225,6 +225,7 @@ function MultipleInputWidgetController($q, $scope, $translate, attributeService, | @@ -225,6 +225,7 @@ function MultipleInputWidgetController($q, $scope, $translate, attributeService, | ||
225 | if (!vm.isVerticalAlignment && vm.settings.fieldsInRow) { | 225 | if (!vm.isVerticalAlignment && vm.settings.fieldsInRow) { |
226 | vm.inputWidthSettings = 100 / vm.settings.fieldsInRow + '%'; | 226 | vm.inputWidthSettings = 100 / vm.settings.fieldsInRow + '%'; |
227 | } | 227 | } |
228 | + updateWidgetDisplaying(); | ||
228 | } | 229 | } |
229 | 230 | ||
230 | function updateDatasources() { | 231 | function updateDatasources() { |