-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working in action modal #6
Comments
I should add that this is with a table action outside of admin panel |
Hi Martin,
Kindly share your component's code to help me reproduce the issue. Thanks.
…On Fri, Aug 26, 2022, 8:40 AM Martin Ro ***@***.***> wrote:
I should add that this is with a table action outside of admin panel
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKZWMNENTAEJKXWN374VZTV3BKEBANCNFSM57VNPM7Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi, it's just a livewire component implementing Tables\Actions\Action::make('book')
->label(__('Book Lesson'))
->mountUsing(fn (Forms\ComponentContainer $form, Teacher $record) => $form->fill([
'teacher_id' => $record->user->userable_id,
]))
->form([
Group::make()->schema([
Flatpickr::make('date),
])->columns(2),
]) |
If you want to reproduce, just create a Livewire component and setup a table like here and in the tables |
Ok, digging around a bit, all the assets are registered |
This is actually the case. Might you be able to do a PR to support standalone usage? |
Any update? |
I will be re-writing most parts of the component tomorrow, hopefully it
will fix this issue.
…On Sun, Jan 1, 2023, 10:30 PM Bart ***@***.***> wrote:
Any update?
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABKZWMK67TCYDJ66FB7K26TWQHLL7ANCNFSM57VNPM7Q>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@coolsam726 I wonder if you had a chance to update this package to work with standalone forms |
+1 |
1 similar comment
+1 |
## 2.x dev - Full Re-Write of the package, with bug fixes: ### Improvements and Fixes: 1. Dark mode is now enabled on the fly for the FilamentPHP admin panel. 2. The package can now be used in standalone forms outside the filament admin panel. Fixes #1, #2, #6, #23 3. Almost all of Flatpickr's native configuration is now supported out of the box through a fluent interface. Fixes #10, #11, #24 3. Alpine.js component is now loading lazily using async-alpine
Fixed in this PR #27 |
When using the field in an action modal I get
The text was updated successfully, but these errors were encountered: