Skip to main content
FlexTextInput ← Back to Table of Contents

Summary

Single-line text input with pill layout, grouped action buttons, and optional toolbar features. Extends Filament TextInput — all native TextInput APIs remain available. Also suitable for mapped types such as email, password, url, phone, slug, and search when configured through FlexFieldFormBuilder.

Basic usage

Standard text input with icons

Password with strength meter


State & validation

Stored value

State is a string (or numeric when using numeric()).

Validation rules

Works with all standard Filament validation rules: required(), email(), url(), numeric(), maxLength(), etc.

Configuration API

All methods accept Closure unless noted.

passwordStrengthLabels()

verificationStatus()

Ideal for verified e-mails or domains:

Real-world examples

Search input with clear button

Multi-language dictation


Playground

/admin/flex-fields-playground/flex-text-input See Playground for setup.

CSS classes (reference)


Performance