Please see https://select2.org/

This is used all over Tiki to make a nicer interface. Previously, Chosen (now deprecated) was used.