Skip to content

Commit

Permalink
Fixes #38251 - Make content view field ng-required on AK create
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylenz committed Feb 28, 2025
1 parent 83498c4 commit 1612edc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h2 translate>New Activation Key</h2>
<select ng-hide="contentViews.length === 0 || activationKey.environment === undefined "
id="content_view_id"
name="content_view_id"
ng-required="activationKey.environment"
ng-model="activationKey.content_view_id"
ng-options="contentView.id as contentView.name for contentView in contentViews"
autofocus>
Expand All @@ -64,7 +65,7 @@ <h2 translate>New Activation Key</h2>
The selected environment contains no Content Views, please select a different environment.
</span>
<span class="help-block" ng-show="activationKey.environment === undefined" translate>
Please select an environment.
Please select a lifecycle environment. Lifecycle environment and content view must be provided together.
</span>
</div>
</span>
Expand Down

0 comments on commit 1612edc

Please sign in to comment.