How do I disable a button in Elixir?

So there’s really no way to disable search buttons until input is selected using elixir in the template?