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

The number leaded by 0 is also considered for validation #126

Open
sric88 opened this issue Feb 28, 2018 · 0 comments
Open

The number leaded by 0 is also considered for validation #126

sric88 opened this issue Feb 28, 2018 · 0 comments

Comments

@sric88
Copy link

sric88 commented Feb 28, 2018

Hi,

Thanks for the great plugin.

I'm facing few issues like

  1. My text box should accept only number with maximum of 7 digits. When the user enter Eg."0058694" it's throwing error. The pattern i have used is ^(0|[1-9][0-9]*)$ and I have set the min and max as "1" and "7". I want the number to be truncated in a way the leading 0's to be removed and the min and max should calculate based on truncated 0's

  2. On clicking outside the page, the inline edit should retain back to normal view, I don't want to save.

  3. On any client side error, I want the inline edit to be enabled focusing the textbox. Apart from array of error I'm not getting any parameter to enable it back

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

1 participant