I think I found the lines in the code where the value of the selected email is lost:File: /include/class.user.phpLines: 870 - 879class UserEmail extends UserEmailModel { static function ensure($address) { $email = static:(array('address'=>$address)); if (!$email) { $email = new static(array('address'=>$address)); $email->save(); } return $email; }}
When I use plain textbox for "e-mail", the parameter $address is a string and everything works fine.When I use typeahead with a custom list for the "e-mail", the parameter $address is an array with the id of the list value and the list value itself. I guess the command "new" returns empty email and the following "save" saves nothing to the database.To make things more bizarre:
The built in field "name" works fine with Widget type "Typeahead" and a custom list as a source (you could see it to the previous images I sent you)When I change the widget of the "e-mail" to "DropDown", it works fine.Thank you!