freekdz
freekdz
FFilament
Created by freekdz on 8/19/2023 in #❓┊help
action make
4 replies
FFilament
Created by freekdz on 8/17/2023 in #❓┊help
$table->contentGrid()
hi please ->contentGrid() must be in ressource or in list page? because don't want to work for me i need specific syntaxe?
8 replies
FFilament
Created by freekdz on 8/15/2023 in #❓┊help
form and table view
Could you please give me guidance and advice on how to implement the features of the videos sent using Filament?
15 replies
FFilament
Created by freekdz on 8/14/2023 in #❓┊help
add input to form
Please how can add the input checkbox data in my state form "I want to add the selected IDs to the state when I click the 'Add' button, in order to subsequently add all the forms to the table." if ($isMultiline) { Step::make('Disponibilites') ->schema([ Placeholder::make('') ->content(function () { $disponibiliteRecords = Disponibilites::all(); echo '<table>'; echo '<tr>'; $count = 0; foreach ($disponibiliteRecords as $disponibilite) { echo '<td>'; echo '<p style="margin-right:130px;"></p>'; echo '<p style="margin-bottom:20px;"></p>'; echo '<p>'. $disponibilite->code .'</p>'; echo '<p><img src="' . asset('storage/uploads/'.$disponibilite->image) . '" alt="Image"></img></p>'; echo '<p>' . $disponibilite->commune_name . '</p>'; echo '<p>' . $disponibilite->adresse . '</p>'; echo '<input type="checkbox" data-id="' . $disponibilite->id . '">'; echo '</td>'; $count++; if ($count % 3 === 0) { echo '</tr><tr>'; // Nouvelle ligne après chaque 2e élément } } // Fermer la dernière ligne si nécessaire if ($count % 3 !== 0) { echo '</tr>'; } echo '</table>'; }), Actions::make([ Action::make('Ajouter') ->icon('heroicon-m-x-mark') ->action(function (Set $set, $state) { dd($state); }), ]), ]); }
14 replies
FFilament
Created by freekdz on 8/13/2023 in #❓┊help
getdomains probleme
4 replies
FFilament
Created by freekdz on 8/13/2023 in #❓┊help
checkbox multiple view
3 replies