-
Notifications
You must be signed in to change notification settings - Fork 230
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
Generic placeholder setting not working #126
Comments
@pthurmond I had the same problem. I was able to hack this by adding: $(@_inputViews.number.el).find("input").attr("placeholder", @options.genericPlaceholder) To Skeuocard.coffee on Line 373. Or if you want the js version for skeuocard.js: $(this._inputViews.number.el).find("input").attr("placeholder", this.options.genericPlaceholder) This is clearly a hack, but lets me set the generic placeholder. |
@kenkeiter I would be up for submitting a PR with a fix for this issue, but wasn't sure the best way to handle this. Seems like a couple of approaches could be to:
Thoughts? |
@kenkeiter @csexton I am in a battle with the same issue, but it seems to be working here: http://jsfiddle.net/dv9c9/ @csexton please submit a fix! |
Here's another hack: |
I set the generic placeholder and the character as well when I pass in the value. But it still fails to use that set placeholder that you pass in.
Example:
new Skeuocard($("#skeuocard"), {
cardNumberPlaceholderChar: 'X',
genericPlaceholder: 'Enter Card Here'
});
Still just shows X's.
The text was updated successfully, but these errors were encountered: