mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 12:55:08 +02:00
* Api: Required numeric customfields were not displayed as required
This commit is contained in:
@@ -641,12 +641,21 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
_setup_int(field_name, field, attrs)
|
||||
{
|
||||
delete (attrs.label);
|
||||
field.type = "number"
|
||||
attrs.precision = 0;
|
||||
return true;
|
||||
}
|
||||
|
||||
_setup_float( field_name, field, attrs)
|
||||
{
|
||||
// No label on the widget itself
|
||||
delete(attrs.label);
|
||||
|
||||
field.type = 'float';
|
||||
field.type = 'number';
|
||||
|
||||
if(field.len)
|
||||
{
|
||||
@@ -654,6 +663,7 @@ export class et2_customfields_list extends et2_valueWidget implements et2_IDetac
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
_setup_select( field_name, field, attrs)
|
||||
{
|
||||
// No label on the widget itself
|
||||
|
Reference in New Issue
Block a user