Reusable component with multiple form input fields

Hey Everyone,

I’m trying to figure out how I can create a reusable component that I can use on multiple resources without having to type the same items over an over.

I want to create a component called “Link” with the following fields.

Select::make(‘type),
TextInput::make(‘internal’),
Select::make(‘internal’),
TextInput::make(‘external’),
TextInput::make(‘email’),
TextInput::make(‘phone’),
Select::make(‘target’)
Was this page helpful?