Can I Disable A Link Rather Than a Button While a Server Connect Executes?

I have a navigation link which I want to disable while a server connect is executing. Can I do that?

Here is the link:

<a data-toggle="collapse" data-target=".navbar-collapse.show" class="nav_icons_item nav-item nav-link align-self-center" href="#" id="a_nav_main_crontab" dmx-on:click="test_crontab_commands.load()" ><i class="far fa-clock"></i></a>

So I tried adding:

dmx-bind:disabled="test_crontab_commands.state.executing"

And it doesn’t disable it…

Is there anything else I can try?

Community Page
Last updated: