Skip to content
New issue

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

Possibility to use existing wrapper (parent) element #50

Open
lkrzyzanek opened this issue Apr 13, 2017 · 1 comment
Open

Possibility to use existing wrapper (parent) element #50

lkrzyzanek opened this issue Apr 13, 2017 · 1 comment

Comments

@lkrzyzanek
Copy link

lkrzyzanek commented Apr 13, 2017

wrapElement method always creates a new "wrapper" element around input.
In some situations it would be great to pass the wrapper element within options and just do initialization like copy all CSS etc.

My use case is that we uses "adaptive placeholders" which requires to have label exactly after input element. Something like this:

<div>
  <input>
  <label>
</div>
@lkrzyzanek lkrzyzanek changed the title Possibility to pass wrapper element in options Possibility to use existing wrapper (parent) element Apr 13, 2017
lkrzyzanek pushed a commit to lkrzyzanek/hideShowPassword that referenced this issue Apr 13, 2017
@lkrzyzanek
Copy link
Author

This is what I meant: #51
(min version is not committed).

lkrzyzanek pushed a commit to lkrzyzanek/hideShowPassword that referenced this issue Apr 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants