Hints of methods to use:

I have a nice layout started now I want to gather data from several places and display and interact. thoghts?
return $form
->schema([
Split::make([
Section::make([
Textarea::make('read_only_table_db_query')
->rows(24)->cols(60)->readOnly()
])
->footerActions([
Action::make('previous_action'),
Action::make('next_action'),
])
->extraAttributes(['class'=>'no-padding'])
->id('reviewSection'),
Section::make([
Section::make([
Textarea::make('edit_text_area')
->rows(16)->cols(40),
])
->id('editSection')
->footerActions([
Action::make('clear_action'),
Action::make('undo_action'),
Action::make('grade_action'),
Action::make('send_action'),
// Action::make('reset_action'),
]),
Textarea::make('responses')
->label('responses'),
Select::make('contact.status')
->options([
'member' => 'Member',
'administrator' => 'Administrator',
'owner' => 'Owner',
]),
Textarea::make('other_info'),
])
->id('responseSection')
])->columnSpanFull() // Split::

->extraAttributes(['class'=>'no-padding'])
]);
}
return $form
->schema([
Split::make([
Section::make([
Textarea::make('read_only_table_db_query')
->rows(24)->cols(60)->readOnly()
])
->footerActions([
Action::make('previous_action'),
Action::make('next_action'),
])
->extraAttributes(['class'=>'no-padding'])
->id('reviewSection'),
Section::make([
Section::make([
Textarea::make('edit_text_area')
->rows(16)->cols(40),
])
->id('editSection')
->footerActions([
Action::make('clear_action'),
Action::make('undo_action'),
Action::make('grade_action'),
Action::make('send_action'),
// Action::make('reset_action'),
]),
Textarea::make('responses')
->label('responses'),
Select::make('contact.status')
->options([
'member' => 'Member',
'administrator' => 'Administrator',
'owner' => 'Owner',
]),
Textarea::make('other_info'),
])
->id('responseSection')
])->columnSpanFull() // Split::

->extraAttributes(['class'=>'no-padding'])
]);
}
What I want to do is suppli data to the different sections Read Only on the left from the data base.
Top right is the edit box next right is a listing of sample text to use. user selects sample (double click or button) which is placed in the top right box. User can edit and send, just send or other action Not looking for someone to write it for me but just point out the methods to start with in each area.
No description
4 Replies
Povilas K
Povilas K3w ago
To me, it looks like a custom Livewire page/component, just using Filament components for design
ddoddsr
ddoddsrOP3w ago
So far it is a standard Form on a RelationManager as a Modal using Filament components for design. Now do I need something custom to pull in the data to the differnt parts or do I need to start over with a custom page and custom componuts ?
Povilas K
Povilas K3w ago
Sorry I don't have a quick answer, I would probably do it as a custom page, but maybe I'm missing something. This is one of those scenarios that are almost impossible to answer without experimenting with the code.
ddoddsr
ddoddsrOP3w ago
Thanks for taking a look. Making progress in using custom Components, which are new to me.
Want results from more Discord servers?
Add your server