Last active
March 19, 2019 18:10
-
-
Save lizzymendivil/5ed510baf921dd747c210fa1aaa6839a to your computer and use it in GitHub Desktop.
input password show or hide value
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<md-dialog-content> | |
<div class="md-dialog-content-bu"> | |
<p class="md-body-2">{{ 'main.business_units.delete.CONFIRM' | translate }}</p> | |
<md-input-container class="md-block"> | |
<label>{{ 'main.business_units.delete.ENTER_PASSWORD' | translate }}</label> | |
<input id="business-unit-name-input" | |
name="password" | |
type="{{ businessUnitDeleteFormController.typePassword ? 'text' : 'password' }}" | |
ng-model="businessUnitDeleteFormController.password" | |
required | |
md-no-asterisk> | |
<md-icon ng-click="businessUnitDeleteFormController.togglePassword()" | |
md-svg-src="{{ | |
businessUnitDeleteFormController.typePassword ? | |
businessUnitDeleteFormController.iconResources.businessUnit.VISIBILITY_OFF : | |
businessUnitDeleteFormController.iconResources.businessUnit.VISIBILITY }}"> | |
</md-icon> | |
<div ng-messages="businessUnitForm.password.$error" | |
ng-show="businessUnitForm.password.$touched"> | |
<div ng-message="required">{{ 'main.business_units.form.VALID_PASSWORD_EMPTY' | translate }}</div> | |
</div> | |
</md-input-container> | |
</div> | |
</md-dialog-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment