Basics
Inherits from Text.
* has the same capabilities.
The Phone field is an extension of Text, which by default sets type=tel
.
use MoonShine\UI\Fields\Phone; Phone::make('Phone')
Mask
To use a mask for the phone number, use the mask()
method.
Phone::make('Phone') ->mask('7 999 999-99-99')