Method Filament\Forms\Components\Group::isContained does not exist. (Upgrading from v2)

I am trying to upgrade v2 to v3 and hitting this issue on my resource I used to have this
Forms\Components\Group::make()->relationship('contact')->schema([
RichEditor::make('bio')
->nullable()
->label('Bio')
->columnSpanFull(),
Tabs::make('Contact Details')->columnSpanFull()->tabs([
Tabs\Tab::make('Phone Numbers')->schema([

/* @TODO - Add phone number validation once V3 is done
PhoneInput::make('home_phone')
->nullable()
->label('Home Phone'),
PhoneInput::make('office_phone')
->nullable()
->label('Office Phone'),
PhoneInput::make('contact.mobile_phone')
->nullable()
->label('Mobile Phone'),*/

TextInput::make('home_phone')
->nullable()
->label('Home Phone'),
TextInput::make('office_phone')
->nullable()
->label('Office Phone'),
TextInput::make('contact.mobile_phone')
->nullable()
->label('Mobile Phone'),]),
]),

]),
Forms\Components\Group::make()->relationship('contact')->schema([
RichEditor::make('bio')
->nullable()
->label('Bio')
->columnSpanFull(),
Tabs::make('Contact Details')->columnSpanFull()->tabs([
Tabs\Tab::make('Phone Numbers')->schema([

/* @TODO - Add phone number validation once V3 is done
PhoneInput::make('home_phone')
->nullable()
->label('Home Phone'),
PhoneInput::make('office_phone')
->nullable()
->label('Office Phone'),
PhoneInput::make('contact.mobile_phone')
->nullable()
->label('Mobile Phone'),*/

TextInput::make('home_phone')
->nullable()
->label('Home Phone'),
TextInput::make('office_phone')
->nullable()
->label('Office Phone'),
TextInput::make('contact.mobile_phone')
->nullable()
->label('Mobile Phone'),]),
]),

]),
but now getting this Method Filament\Forms\Components\Group::isContained does not exist. Any ideas?
Solution:
I am not entirely sure what it was but it fixed itself magically :S
Jump to solution
1 Reply
Solution
nostrodamned
nostrodamned17mo ago
I am not entirely sure what it was but it fixed itself magically :S
Want results from more Discord servers?
Add your server