Forms\Components\Select::make('industry_id')
->label('Industry')
->relationship(name: 'industry', titleAttribute: 'name')
->options(
Industry::all()->pluck('name', 'id')
)->createOptionForm([
Forms\Components\TextInput::make('name')
->required(),
])
->live(),
Forms\Components\Select::make('industry_id')
->label('Industry')
->relationship(name: 'industry', titleAttribute: 'name')
->options(
Industry::all()->pluck('name', 'id')
)->createOptionForm([
Forms\Components\TextInput::make('name')
->required(),
])
->live(),