Validation
You can validate the input by passing any Laravel validation rules in an array:
Filament uses tooltips to display validation errors. If you want to use tooltips outside of the admin panel to display validation errors, make sure you have @ryangjchandler/alpine-tooltip installed in your app.
Customizing the HTML input type
You may use thetype() method to pass a custom HTML input type: