summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-02-15 11:07:32 +0000
committerGerrit Code Review <review@openstack.org>2022-02-15 11:07:32 +0000
commit18545ca92108262e298fa8f24c64ae08e732773e (patch)
tree0f5cbe91ae478714656f8bdfe3beffb3d2dd4e45
parent8b4e31fbd68a4e7015bbbee9b5aed4417b3cffde (diff)
parentb8470120857284e425097e9e309611de837a46f6 (diff)
downloadhorizon-18545ca92108262e298fa8f24c64ae08e732773e.tar.gz
Merge "Mark "Source" tab in the launch instance form as required"
-rw-r--r--openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html
index 261ffb56c..32efb82a3 100644
--- a/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html
+++ b/openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.html
@@ -105,6 +105,7 @@
<hz-dynamic-table
config="$isAvailableTable ? ctrl.availableTableConfig : ctrl.allocatedTableConfig"
items="$isAvailableTable ? (ctrl.tableData.available | filterAvailable:trCtrl.allocatedIds) : $sourceItems"
+ validate-number-min="1" ng-model="ctrl.tableData.allocated.length"
item-actions="trCtrl.itemActions"
filter-facets="$isAvailableTable && ctrl.sourceFacets"
table="ctrl">