We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bootstrap-show-password version: 1.0.2 jQuery version: 1.8.2
Here's the password element, as well as checkbox to toggle showing password
<p> <input type="password" id="admin_pass" name="admin_pass" class="form-control" data-placement="before" /> </p> <p><label><input id="methods" type="checkbox" /> Show password</label></p>
The corresponding Javascript
$(function() { $('#mysql_sel_1').click(); $('#admin_pass').password().on('show.bs.password', function(e) { $('#methods').prop('checked', true); }).on('hide.bs.password', function(e) { $('#methods').prop('checked', false); }); $('#methods').click(function() { $('#admin_pass').password('toggle'); }); });
If I click on the show password button initially, it works
But if I click on the checkbox first, show password will not show any text
Programatically, I get the value of the password field
$('#admin_pass').password('val'); "password"
It's just showing as blank in the password field.
The text was updated successfully, but these errors were encountered:
Me too
Sorry, something went wrong.
Same problem.
No branches or pull requests
bootstrap-show-password version: 1.0.2
jQuery version: 1.8.2
Here's the password element, as well as checkbox to toggle showing password
The corresponding Javascript
If I click on the show password button initially, it works
But if I click on the checkbox first, show password will not show any text
Programatically, I get the value of the password field
It's just showing as blank in the password field.
The text was updated successfully, but these errors were encountered: