filament-phone-field
filament-phone-field copied to clipboard
Error when used inside Repeater Field
When trying to use this field inside a Repeated Field, we get the following error:
Sample Code:
<?php
// ...
use AbanoubNassem\FilamentPhoneField\Forms\Components\PhoneInput;
// ...
// ...
// ...
Repeater::make('contact_numbers')
->label("Contact Numbers")
->schema([
PhoneInput::make('contact_numbers')
->label("Contact Number")
->initialCountry("IN")
->tel(),
])
->columnSpan(2),
// ...
// ...
// ...