protected boolean shouldReplaceTextFieldTextWithSelectedItem(String textFieldText,
			T selectedItem) {
		String listItemText = dataModel.getDisplayText(selectedItem);
		return StringUtilities.startsWithIgnoreCase(listItemText, textFieldText);
	}
This is more complicated that responding to the user mouse click.  When clicked, the user is
signalling to use the clicked item.  When pressing Enter, they may have been typing and
ignoring the list, so we have to do some validation.
Ghidra/Framework/Docking/src/main/java/docking/widgets/DropDownTextField.java