This feature is important in order to have more standard names in the company and to be able to edit what is offered in the list of autocomplete suggestions. it is faster and more convenient.
Have a look in frappe/public/js/frappe/views/communication.js.
This is the dialog used to send email within ERPNExt.
Check the “MultiSelect” fields, which are used to input email addresses; it suggests emails from the contacts, but you can still enter something that doesn’t exist in the list of suggestions.
Another example is the awesome bar at the top right.
It uses an Awesomplete control
I ever hacked the Data field as Link field with property no validation check
in more detail,
- define the field as Data fieldtype in DocType
2.hacked make_control js method, change the control type to Link and set no validation property