mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:07 +01:00
Add check for blur text left in
This commit is contained in:
parent
b590c48a0b
commit
9bf462d616
@ -253,6 +253,10 @@ class ajax_select_widget
|
||||
if(!is_array($value_in)) {
|
||||
$value_in = $extension_data['old_value'];
|
||||
}
|
||||
// Check for blur text left in
|
||||
if($extension_data['options']['id_field'] == self::ARRAY_KEY && $value_in['search'] == lang('Search...') ) {
|
||||
$value_in['search'] = '';
|
||||
}
|
||||
|
||||
// They typed something in, but didn't choose a result
|
||||
if(!$value_in['value'] && $value_in['search']) {
|
||||
|
Loading…
Reference in New Issue
Block a user