Skip to content

wamesk/laravel-nova-tel-input

Repository files navigation

Laravel Nova Tel Input

Installation

composer require wamesk/laravel-nova-tel-input

Usage

use Wame\TelInput\TelInput;

TelInput::make(__('phone'), 'phone'),

TelInput::make('tel', 'phone')->required()->rules('required')
    ->preferredCountries(['SK', 'CZ'])
    ->placeholder('Tel cislo')
    
      more options:
    //->onlyCountries([])
    //->enableValidate(false) // default true
    //->enabledCountryCode(false)  // default true
    //->showDialCode(false) // default true
    //->mode('national')  // (without +421) default international 

Vue Tel Input for Laravel Nova

Playground

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published