Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/views/partials/forms/edit_credential/custom_fields.html')
-rw-r--r--templates/views/partials/forms/edit_credential/custom_fields.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/views/partials/forms/edit_credential/custom_fields.html b/templates/views/partials/forms/edit_credential/custom_fields.html
index 45507ebf..8260fe32 100644
--- a/templates/views/partials/forms/edit_credential/custom_fields.html
+++ b/templates/views/partials/forms/edit_credential/custom_fields.html
@@ -12,10 +12,10 @@
</div>
<div class="row">
<div class="col-xs-8 valueInput">
- <input type="text" ng-model="new_custom_field.value" ng-show="selected_field_type === 'text'">
- <password-gen ng-model="new_custom_field.value" ng-show="selected_field_type ==='password'"
+ <input type="text" ng-model="new_custom_field.value" ng-show="new_custom_field.field_type === 'text'">
+ <password-gen ng-model="new_custom_field.value" ng-show="new_custom_field.field_type ==='password'"
settings="{generateOnCreate: false }" ></password-gen>
- <span ng-show="selected_field_type ==='file'">
+ <span ng-show="new_custom_field.field_type ==='file'">
<input id="custom_field_file" class="inputfile" type="file" file-select success="addFileToCustomField" error="fileLoadError" progress="fileSelectProgress">
<label for="custom_field_file"><i class="fa fa-upload" aria-hidden="true"></i> {{ new_custom_field.value.filename || 'select.file' | translate}}</label>
</span>