Phone

You're browsing the documentation for an old version of MoonShine. Consider upgrading your project to MoonShine 2.x.

Extends Text * has the same features

Everything is the same as the "Text field", the only difference is input type = tel

use MoonShine\Fields\Phone;
 
Phone::make('Phone', 'tel')

To mask the telephone number, use the mask('7 999 999-99-99') method