1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5073: remove min and max range (#206)

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
This commit is contained in:
Jorge Miguel Lobo Escalona 2020-09-11 13:26:13 +02:00 committed by GitHub
parent b528d20ae3
commit 0c02bd47df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -40,7 +40,7 @@
{{#unless wizard_field_disabled}}wizard_field="{{name}}"{{/unless}}
{{#if disabled}}disabled="true"{{/if}}/>
<input type="number" class="visor"
min="{{min}}" max="{{max_value}}"
data-min="{{min}}" data-max="{{max_value}}"
value="{{initial}}" required/>
</div>
</div>

View File

@ -902,8 +902,6 @@ define(function(require) {
break;
}
if(attr.visor){
var min = attr.min != undefined ? attr.min : "";
var max = attr.max != undefined ? attr.max : "";
input += '<input type="number" class="visor" value="'+value+'" required>';
}
return input;