mirror of https://github.com/portainer/portainer
fix(docker): don't trimming when creating secret [EE-3265] (#7577)
* EE-3265 fix(docker): stop trimming when creating secret * EE-3265 fix(docker): stop triming when creating secret in k8spull/7604/head
parent
eb5036b96f
commit
a9b1a9c194
|
@ -17,7 +17,7 @@
|
|||
<div class="form-group">
|
||||
<label for="secret_data" class="col-sm-2 control-label text-left">Secret</label>
|
||||
<div class="col-sm-10">
|
||||
<textarea class="form-control" rows="5" ng-model="formValues.Data"></textarea>
|
||||
<textarea class="form-control" rows="5" ng-model="formValues.Data" ng-trim="false"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<!-- !secret-data -->
|
||||
|
|
|
@ -82,6 +82,7 @@
|
|||
id="configuration_data_value_{{ index }}"
|
||||
name="configuration_data_value_{{ index }}"
|
||||
ng-model="$ctrl.formValues.Data[index].Value"
|
||||
ng-trim="false"
|
||||
required
|
||||
></textarea>
|
||||
<div class="small text-muted" style="margin-top: 5px" ng-show="kubernetesConfigurationDataCreationForm['configuration_data_value_' + index].$invalid">
|
||||
|
|
Loading…
Reference in New Issue