Isn't phx-disable-with suppose to work on dead view forms?


I’ve just installed phoenix and generated auth without live and for new registration have form like this:

  <.simple_form :let={f} for={@changeset} action={~p"/users/sign_up"}>
    <.error :if={@changeset.action == :insert}>
      Oops, something went wrong! Please check the errors below.

    <.input field={f[:email]} type="email" label="Email" required />
    <.input field={f[:password]} type="password" label="Password" required />

      <.button phx-disable-with="Creating account..." class="w-full">Create an account</.button>

And founded that submit button is not getting disabled on submit.

So my question is isn’t this feature supposed to work on dead views?
Also looks like phx-submit event is not being dispatched on form element, is this expected?
If no is there something to achieve similar behaviour?

Thank you!