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
I check the source code and found this:
placeholder = $.fn.placeholder = function(options) { ... return this.filter((isInputSupported ? 'textarea' : ':input') + '[' + (debugMode ? 'placeholder-x' : 'placeholder') + ']') .not('.'+settings.customClass) .not(':radio, :checkbox, :hidden') // here
so if input or its ancestor element is hidden when init (it's a normal scene),it won't work.
Could you tell me why use :hidden here ? I make a small changes:
:hidden
.not(':radio, :checkbox, [type="hidden"]')
The text was updated successfully, but these errors were encountered:
@animabear you're right, [type="hidden"] should be used and not :hidden. If you can do a pull request I can merge, if not I can do it myself later.
[type="hidden"]
Sorry, something went wrong.
f3d4b7d
@animabear I have published a new release with this fix.
@amerikan ok,thanks
amerikan
Successfully merging a pull request may close this issue.
I check the source code and found this:
so if input or its ancestor element is hidden when init (it's a normal scene),it won't work.
Could you tell me why use
:hidden
here ? I make a small changes:The text was updated successfully, but these errors were encountered: