Skip to content
Snippets Groups Projects
Verified Commit 4b3e4339 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

WIP

parent b08544a5
No related branches found
No related tags found
1 merge request!37prepare release v0.3.1
......@@ -1332,10 +1332,10 @@ var form_elements = new function () {
type: "number"
});
const ret = $(this._make_input(_config))
if (config.min) {
if (typeof config.min !== "undefined") {
ret.find("input").attr("min", config.min);
}
if (config.max) {
if (typeof config.max !== "undefined") {
ret.find("input").attr("max", config.max);
}
ret.find("input").attr("step", "any");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment