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

Невозможно сделать обязательным TV-параметр типа «Number». #1

Open
mib1001 opened this issue Nov 14, 2014 · 0 comments
Assignees
Labels

Comments

@mib1001
Copy link

mib1001 commented Nov 14, 2014

Для исправления в коде виджета нужно добавить выражение в строку (см.ниже)

Для версии 1.2.5
Было (со строки 94) —
case 'input': // If it’s an input, we only want to do something if it’s a text field
$selector = "input[type=text][name=$fieldname],input[type=email][name=$fieldname]";
break;

Стало:
case 'input': // If it's an input, we only want to do something if it's a text field
$selector = "input[type=text][name=$fieldname],input[type=email][name=$fieldname],input[type=number][name=$fieldname]";
break;

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

No branches or pull requests

3 participants