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

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

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 0c02bd47df0d6131c684826325d65ec8d42b9d24)
This commit is contained in:
Jorge Miguel Lobo Escalona 2020-09-11 13:26:13 +02:00 committed by Tino Vazquez
parent 7b78ba18bb
commit b3476a1867
No known key found for this signature in database
GPG Key ID: 2FE9C32E94AEABBE
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

@ -903,8 +903,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;