forked from extern/egroupware
fixed not working readonly display of integer or float widgets, caused by attribute validation allowing string only
This commit is contained in:
parent
511a925bb4
commit
52a3a5e2ae
@ -98,9 +98,10 @@ et2_register_widget(et2_number, ["int", "integer", "float"]);
|
||||
var et2_number_ro = et2_textbox_ro.extend(
|
||||
{
|
||||
attributes: {
|
||||
"min": {"ignore": true},
|
||||
"max": {"ignore": true},
|
||||
"precision": {"ignore": true}
|
||||
min: { ignore: true},
|
||||
max: { ignore: true},
|
||||
precision: { ignore: true},
|
||||
value: { type: "float" }
|
||||
}
|
||||
});
|
||||
et2_register_widget(et2_number_ro, ["int_ro", "integer_ro", "float_ro"]);
|
||||
|
Loading…
Reference in New Issue
Block a user