gemini.dev
gemini.dev
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
Is that adding 'class' => 'min-w-20'?
25 replies
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
That looks like Tailwind class. I think what you can do is something like:
->extraAttributes(['style' => 'width: 20px', 'class' => 'min-w-20'])
->extraAttributes(['style' => 'width: 20px', 'class' => 'min-w-20'])
However, I doubt that might work - as you may to remove the original class that is there. How you do that, I'm not sure I'm afraid. I'd suggest raising a new post, someone with better knowledge within this area may assist you.
25 replies
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
Which element are you inspecting? Because it's not the input you should be inspecting, it's the container that is wrapping the input or the container before it. Set the width to something like 27px and find the div that has a width set to that. Once you find the element, you should then see if it has a min-width.
25 replies
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
Could you try to set the value to something like 500px - I wonder if there is a min width set.
25 replies
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
Hi, what version of filament are you using? Also, have you tried doing a hard refresh?
25 replies
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
Hi @TheDagofugo, I see you're experiencing similar problem as I did. Have you tried setting the style? To something like: ->extraAttributes(['style' => 'width: 50px'])
25 replies
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
Thank you @idk - This has worked for me: TextInputColumn::make('siren_number')->extraAttributes(['style' => 'width: 500px']),
25 replies
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
Any ideas anybody?
25 replies
FFilament
Created by gemini.dev on 1/2/2025 in #❓┊help
How to add width to TextInputColumn in a table?
Get this error when adding a limit(100) to TextInputColumn: Method Filament\Tables\Columns\TextInputColumn::limit does not exist.
25 replies
FFilament
Created by gemini.dev on 10/13/2024 in #❓┊help
Add TextArea as a blade component
Worked like a charm! Thankk you @zydnrbrn
4 replies
FFilament
Created by AlexAnder on 3/18/2024 in #❓┊help
Select or Create in attach modal freezes (no scroll)
I figured the issue out on my side. It turned out to be that the modal was rendered multiple times.
7 replies
FFilament
Created by AlexAnder on 3/18/2024 in #❓┊help
Select or Create in attach modal freezes (no scroll)
@AlexAnder Did you manage to fix this issue?
7 replies
FFilament
Created by gemini.dev on 11/21/2024 in #❓┊help
How to open a filament modal using dispatch?
Fixed it. I had to use $this->dispatch('open-modal', id: 'global-modal'); and not $this->dispatch('open-modal', ['id' => 'global-modal']);
2 replies
FFilament
Created by blink on 10/14/2024 in #❓┊help
how to check what (if) attributes were updated in afterSave() method.
Is this what youre looking for? https://laravel.com/docs/5.7/eloquent#observers
3 replies
FFilament
Created by gemini.dev on 8/12/2024 in #❓┊help
Cannot close modal after validation
No description
48 replies
FFilament
Created by gemini.dev on 8/12/2024 in #❓┊help
Cannot close modal after validation
Figured what the issue is!
48 replies
FFilament
Created by gemini.dev on 8/12/2024 in #❓┊help
Cannot close modal after validation
I'll keep trying different approaches, like you mentioned a seperate livewire component. I'll keep you updated on here once I have a working solution, may be useful for someone in the future.
48 replies
FFilament
Created by gemini.dev on 8/12/2024 in #❓┊help
Cannot close modal after validation
No description
48 replies
FFilament
Created by gemini.dev on 8/12/2024 in #❓┊help
Cannot close modal after validation
I think an alternative solution I can try is to dynamically create columns, rather than generating the data within a single column.
48 replies
FFilament
Created by gemini.dev on 8/12/2024 in #❓┊help
Cannot close modal after validation
No description
48 replies