Commit 392d3616 authored by Boris Kocherov's avatar Boris Kocherov

use html5 `pattern` attribute

parent a68980fb
......@@ -688,6 +688,9 @@
input.type = "number";
} else {
input.type = "text";
if (json_field.pattern) {
input.pattern = json_field.pattern;
}
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment