mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Signed-off-by: Jorge Lobo <jlobo@opennebula.io> (cherry picked from commit 0c02bd47df0d6131c684826325d65ec8d42b9d24)
This commit is contained in:
parent
7b78ba18bb
commit
b3476a1867
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user