The clipboard copy need readonly and not disabled

This commit is contained in:
Johannes Zellner
2021-11-22 17:56:53 +01:00
parent 611c5de9f3
commit be03a21214

View File

@@ -419,7 +419,7 @@
<small ng-show="setGhost.error">{{ setGhost.error }}</small>
</div>
<div class="input-group">
<input type="text" id="setGhostPassword" class="form-control" name="password" ng-model="setGhost.password" required ng-disabled="setGhost.success"/>
<input type="text" id="setGhostPassword" class="form-control" name="password" ng-model="setGhost.password" required ng-readonly="setGhost.success"/>
<span class="input-group-btn">
<button class="btn btn-default" id="setGhostClipboardButton" type="button" data-clipboard-target="#setGhostPassword"><i class="fa fa-clipboard"></i></button>
</span>