An extension to the [egui::TextEdit] that allows for a dropdown box with autocomplete to popup while typing. You can select the suggestions with arrows keys + enter or mouse clicks.
egui::TextEdit
View web example here