function handleClick(e) {
		const $el = e.target;
		const action = $el.getAttribute("action");
		if (action !== "hint") return;
		const value = $el.getAttribute("value");
		if (!value) {
			onblur();
			return;
		}
		$input.value = $el.textContent;
		if (onSelect) onSelect(value);
		preventUpdate = false;
		onblur();
	}
Handle click event
@param {MouseEvent} e Event