click', function() {
		checkFormValidity('selectInAForm');
	});

	selectInAForm.addEventListener('ui5-change', function() {
		setTimeout(() => {
			checkFormValidity('selectInAForm', true);
		}, 0);
	});

	function checkFormValidity(elementId, delayed = false) {
		const element = document.getElementById(elementId);
		const isValid = element.checkValidity();

		element.reportValidity();

		// Show result
		formValidationMessage.hidden = false;
		formValidationMessage.innerText = `checkValidity(): ${isValid} 