{ if (isPendingAction()) { event.preventDefault() } else if (event.target.closest('form').checkValidity()) { pushPendingAction('${action}')} }|:''"
vLoading="${myLoading}?|isPendingAction('${action}')|:false"
th:attr="__${other_attrs}__">
{if (event.target.closest('form').reportValidity()) componentStates['${myComponentId}'].confirm = true}|"
type="button"
th:attr="ref=${myComponentId},__${other_attrs}__">