Validated input

The validator runs before the handler

greet() rejects an empty name inside its validator, so the handler never sees that call. The greeting below came from the loader with the name loader, and it is in the first HTML. Submit the field to call the same function from the client. Clear the field and use Validation error to see the thrown message.

From the loader: Hello, loader

No client call yet.

All examples