mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 18:07:36 -02:30
disable prompt-on-launch when input source is set
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
<div ng-if="state._displayPromptOnLaunch" class="at-InputLabel-checkbox pull-right">
|
<div ng-if="state._displayPromptOnLaunch" class="at-InputLabel-checkbox pull-right">
|
||||||
<label class="at-InputLabel-checkboxLabel">
|
<label class="at-InputLabel-checkboxLabel">
|
||||||
<input type="checkbox"
|
<input type="checkbox"
|
||||||
|
ng-disabled="state.asTag"
|
||||||
ng-model="state._promptOnLaunch"
|
ng-model="state._promptOnLaunch"
|
||||||
ng-change="vm.togglePromptOnLaunch()" />
|
ng-change="vm.togglePromptOnLaunch()" />
|
||||||
<p>{{:: vm.strings.get('label.PROMPT_ON_LAUNCH') }}</p>
|
<p>{{:: vm.strings.get('label.PROMPT_ON_LAUNCH') }}</p>
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
ng-class="{ 'at-Input--rejected': state._rejected }"
|
ng-class="{ 'at-Input--rejected': state._rejected }"
|
||||||
ng-attr-maxlength="{{ state.max_length || undefined }}"
|
ng-attr-maxlength="{{ state.max_length || undefined }}"
|
||||||
ng-attr-tabindex="{{ tab || undefined }}"
|
ng-attr-tabindex="{{ tab || undefined }}"
|
||||||
ng-attr-placeholder="{{state._placeholder || undefined }}"
|
ng-attr-placeholder="{{ state._promptOnLaunch ? '' : state._placeholder || undefined }}"
|
||||||
ng-change="vm.check()"
|
ng-change="vm.check()"
|
||||||
ng-disabled="state._disabled || form.disabled"
|
ng-disabled="state._disabled || form.disabled"
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user