Silvio Ney
Silvio Ney
FFilament
Created by Silvio Ney on 9/14/2023 in #❓┊help
Datepicker date format
got it, saw in documentation the example
DatePicker::make('date_of_birth')
->native(false)
->displayFormat('d/m/Y')
DatePicker::make('date_of_birth')
->native(false)
->displayFormat('d/m/Y')
but didn't noticed that i need the native(false), perhaps documentation should explicit this
8 replies
FFilament
Created by Silvio Ney on 9/14/2023 in #❓┊help
Datepicker date format
yes, thanks!
8 replies
FFilament
Created by Silvio Ney on 9/14/2023 in #❓┊help
Datepicker date format
thanks, it worked. I had tried before with native(false) but i was not using the displayFormat method with it a bit annoying native don't work with format
8 replies
FFilament
Created by Silvio Ney on 9/13/2023 in #❓┊help
Delete action in Edit Modal (Simple Resource)
i'll mark as solved, thanks @pboivin
8 replies
FFilament
Created by Silvio Ney on 9/13/2023 in #❓┊help
Delete action in Edit Modal (Simple Resource)
This is my code right now and works!
->actions([
Tables\Actions\EditAction::make()->extraModalFooterActions([
Tables\Actions\DeleteAction::make()->requiresConfirmation()->successRedirectUrl(self::getUrl()),
]),
Tables\Actions\DeleteAction::make(),
])
->actions([
Tables\Actions\EditAction::make()->extraModalFooterActions([
Tables\Actions\DeleteAction::make()->requiresConfirmation()->successRedirectUrl(self::getUrl()),
]),
Tables\Actions\DeleteAction::make(),
])
8 replies
FFilament
Created by Silvio Ney on 9/13/2023 in #❓┊help
Delete action in Edit Modal (Simple Resource)
Thanks!
8 replies
FFilament
Created by Silvio Ney on 9/13/2023 in #❓┊help
Delete action in Edit Modal (Simple Resource)
Thanks! worked like a charm but i have a new problem 😄 When the record is deleted, modal don't close, the only option i found was using Tables\Actions\DeleteAction::make()->successRedirectUrl(fn () => url()->previous()) but i don't know if is the best solution since this redirects to previous page instead only reload the content. or is the right way to do this and i am thinking wrong XD
8 replies
FFilament
Created by jkbcoder on 4/29/2023 in #❓┊help
how can use record in RelationManager ?
I think you have the ownerRecord on livewire instance
3 replies
FFilament
Created by Silvio Ney on 4/28/2023 in #❓┊help
Change input label dynamically
Thank you!
5 replies
FFilament
Created by Silvio Ney on 4/28/2023 in #❓┊help
Change input label dynamically
amazing! worked like a charm!
5 replies
FFilament
Created by Silvio Ney on 4/28/2023 in #❓┊help
Change input label dynamically
i tried with reactive() and using afterStateChanged on "Proprietario" input and using $set but i think $set is used to set the value, not the label of input.
5 replies