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

dash character not excluded #9

Closed
inexuscore opened this issue Jan 27, 2015 · 6 comments
Closed

dash character not excluded #9

inexuscore opened this issue Jan 27, 2015 · 6 comments

Comments

@inexuscore
Copy link

Hello

I came across your website today and thought it's a good plugin for my purposes. one thing though, if you type a dash (-) character it will be excluded after keyPress, but if you input some digits and then input a dash character, it will remain in the input field.
Maybe I'm using it wrong, if so please point out my mistake. If this is a bug, I would appreciate it being fixed in the next release.

Thanks in advance

@EmKayDK
Copy link
Owner

EmKayDK commented Jan 27, 2015

Hi!

Thank you for your message and your observation.

Could you provide a more detailed description on how to reproduce the bug?
For example, which options do you use for the plugin and which steps do you take to get an error?

Thanks in advance

M

@inexuscore
Copy link
Author

Hello
Thank you for your message and quick reply.
Sure thing, I have a working sample at the office, I'll try to email you a
working copy tomorrow before noon.

Thank you
A

On Tue, Jan 27, 2015 at 9:38 PM, Martin Kruse notifications@github.com
wrote:

Hi!

Thank you for your message and your observation.

Could you provide a more detailed description on how to reproduce the bug?
For example, which options do you use for the plugin and which steps do
you take to get an error?

Thanks in advance

M


Reply to this email directly or view it on GitHub
#9 (comment).

[ think twice, think algorithmic ] [:[ i , nexus ] [ pragmatic chaos ] [:

@EmKayDK
Copy link
Owner

EmKayDK commented Feb 6, 2015

Any news on this? :)

@inexuscore
Copy link
Author

Hi!
Sorry i got busy and totally forgot about this. consider this example:

$(document).ready(function() {
    $("input#myValue").jStepper({
      minValue: 1,
      allowDecimals: false
    });
});

After initializing the plugin with this configuration everything works fine, except for when you input a hyphen character. For instance, if you type 123 then - then 456 the hyphen character remains in the input field. Is this behavior correct, am I missing something here?

Thanks again for your time :)

@EmKayDK
Copy link
Owner

EmKayDK commented May 4, 2015

I just uploaded a bug fix for this. I made it so dashes are just ignored if they are not typed as the first character in the field.

@EmKayDK EmKayDK closed this as completed May 4, 2015
@inexuscore
Copy link
Author

Hello Martin
Thank you for your time and this fix, i appreciate it.

Best Regards

On Mon, May 4, 2015 at 2:00 PM, Martin Kruse notifications@github.com
wrote:

I just uploaded a bug fix for this. I made it so dashes are just ignored
if they are not typed as the first character in the field.


Reply to this email directly or view it on GitHub
#9 (comment).

[ think twice, think algorithmic ] [:[ i , nexus ] [ pragmatic chaos ] [:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants