I have this problem, I prepare a page with GWT, with the Materialink disabled.
my Java view:
@UiField
MaterialLink exportLink;
my view.xml:
<m:MaterialLink ui:field="exportLink" text="Esporta Report" addStyleNames="btn" target="_blank" float="RIGHT" enabled="false"/>
The button is disabled and the click not work (GOOD).
if the user complete the Form, I will enable it.
exportLink.setHref(updatedUrl());
exportLink.setEnabled(true);
and work perfert.
When I try to disable it becouse the user put a wrong value.
exportLink.setHref(null);
exportLink.setEnabled(false);
the button looks ok but is possible to click it. Any suggest?
I found this solution: