Hima
Hima
FFilament
Created by kamilstern on 8/14/2023 in #❓┊help
Are nested repeateble fields possible?
i had also done same it saves data but when edit it will not prepopulated do u know how?
31 replies
FFilament
Created by Hima on 10/14/2024 in #❓┊help
Use Array in Table Builder
Using a database view, and creating a model works nicely. - How to do this?
6 replies
FFilament
Created by Hima on 10/11/2024 in #❓┊help
Nested Repeater data not pre-populated to edit form
model->with(relation.subrelation)->get() in which file or function i can call this?
7 replies
FFilament
Created by Hima on 10/11/2024 in #❓┊help
Nested Repeater data not pre-populated to edit form
( could be relation issue in the model ) U can check both models are attached already, Please guid if any relation issues in model.
7 replies
FFilament
Created by Hima on 10/11/2024 in #❓┊help
Nested Repeater data not pre-populated to edit form
No description
7 replies
FFilament
Created by Hima on 10/11/2024 in #❓┊help
Nested Repeater data not pre-populated to edit form
Tabs\Tab::make('Plan Your Meal') ->schema([
Forms\Components\Repeater::make('menumapping') ->relationship('menumapping') // Parent relationship ->label('') ->createItemButtonLabel('Add Menu') ->schema([
Forms\Components\Select::make('menu_category_id') ->label('') ->relationship('category', 'name') ->searchable() ->columns(4) ->reactive() ->preload(),

Forms\Components\Repeater::make('childMenuMappings') ->relationship() ->label('') ->createItemButtonLabel('Add Article') ->schema([ Forms\Components\TextInput::make('display_name') ->label('Display Name'), Forms\Components\TextInput::make('qty') ->label('Qty')->default(1) ->numeric() ->minValue(1), ]) ])
]) ->columnSpan('full') This is simple code. still not child repeater is not pre-populated in edit form
7 replies