Problem on Phone Input
->searchable(),
PhoneInput::make('phone')
->required()
->defaultCountry('my')
->initialCountry('my')
->validationMessages([
'phone:MY' => 'The phone not number'
])
->validateFor(
country: 'MY',
// type: libPhoneNumberType::MOBILE | libPhoneNumberType::FIXED_LINE,
lenient: true,
),
->searchable(),
PhoneInput::make('phone')
->required()
->defaultCountry('my')
->initialCountry('my')
->validationMessages([
'phone:MY' => 'The phone not number'
])
->validateFor(
country: 'MY',
// type: libPhoneNumberType::MOBILE | libPhoneNumberType::FIXED_LINE,
lenient: true,
),
2 Replies
#ysfkaya-phone-input
Thank you to share