Replies: 5 comments 5 replies
-
Hi, I'm using tippyjs and works well, even Inside of the tooltip I add a Infolist |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response. Maybe my conclusion was too quick. I'll look
into it again.
Op vr 9 aug 2024 om 15:39 schreef jncalderon ***@***.***>:
… I don't know, but on my end works well, I know it needs more love, but
like I said, even I added a infolist
Screenshot.at.Aug.09.7-37-19.AM.png (view on web)
<https://github.com/user-attachments/assets/4b783ae2-d53f-4fba-83bb-12da155aca9c>
—
Reply to this email directly, view it on GitHub
<#195 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQM62UFVR3PLOGP37CCOHTZQTBBVAVCNFSM6AAAAABJ7SVDUSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRYG4ZTANI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
Hi, can you give me a hint how you implemented tippy.js? Now I'am using the
'Event tootip on hover' of
https://filamentphp.com/plugins/saade-fullcalendar#event-tooltip-on-hover
Op vr 9 aug 2024 om 22:48 schreef Albert Oxener ***@***.***>:
… Thanks for the quick response. Maybe my conclusion was too quick. I'll
look into it again.
Op vr 9 aug 2024 om 15:39 schreef jncalderon ***@***.***>:
> I don't know, but on my end works well, I know it needs more love, but
> like I said, even I added a infolist
>
> Screenshot.at.Aug.09.7-37-19.AM.png (view on web)
> <https://github.com/user-attachments/assets/4b783ae2-d53f-4fba-83bb-12da155aca9c>
>
> —
> Reply to this email directly, view it on GitHub
> <#195 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ANQM62UFVR3PLOGP37CCOHTZQTBBVAVCNFSM6AAAAABJ7SVDUSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMRYG4ZTANI>
> .
> You are receiving this because you authored the thread.Message ID:
> <saade/filament-fullcalendar/repo-discussions/195/comments/10287305@
> github.com>
>
|
Beta Was this translation helpful? Give feedback.
-
Muito obrigado!
Finally I got it working. Thank you for the quick reactions and for sharing
your code.
Even my original problem, single and double apostrophes in the data, has
been solved with tippy.js.
I can see that I still have to study some Filament basics...
Op do 15 aug 2024 om 17:39 schreef jncalderon ***@***.***>:
… @alboxe <https://github.com/alboxe> there is my infolist, inside on my
model
public function toInfolist(): Infolists\Infolist
{
return Infolists\Infolist::make()
->record($this)
->schema([
Infolists\Components\Grid::make()
->schema([
Infolists\Components\TextEntry::make('assignee.name')
->translateLabel(),
Infolists\Components\IconEntry::make('is_done')
->translateLabel()
->boolean()
]),
Infolists\Components\Grid::make()
->schema([
Infolists\Components\TextEntry::make('name')
->label(__('Customer')),
Infolists\Components\TextEntry::make('address')
->translateLabel(),
]),
Infolists\Components\Grid::make()
->schema([
Infolists\Components\TextEntry::make('appointmentType.name')
->color($this->appointmentType->color === null ? 'primary' : Color::hex($this->appointmentType->color))
->translateLabel(),
Infolists\Components\TextEntry::make('appointmentPriority.name')
->color($this->appointmentPriority->color === null ? 'primary' : Color::hex($this->appointmentPriority->color))
->translateLabel(),
]),
Infolists\Components\Grid::make()
->schema([
Infolists\Components\TextEntry::make('starts_at')
->dateTime()
->translateLabel(),
Infolists\Components\TextEntry::make('ends_at')
->dateTime()
->translateLabel(),
]),
Infolists\Components\TextEntry::make('note')
->visible(fn ($state) => $state !== null)
->markdown()
->translateLabel(),
Infolists\Components\Grid::make()
->schema([
Infolists\Components\TextEntry::make('user.name')
->label(__('Created by')),
Infolists\Components\TextEntry::make('created_at')
->badge()
->translateLabel()
->since()
->dateTimeTooltip(),
]),
]);
}
—
Reply to this email directly, view it on GitHub
<#195 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANQM62U6I22POLXIJE2YBWLZRTDR3AVCNFSM6AAAAABJ7SVDUSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMZUHEZTOOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
|
Beta Was this translation helpful? Give feedback.
-
its a little late, if you just need something simple, simply use escape in js. |
Beta Was this translation helpful? Give feedback.
-
Event tooltip on hover works fine, but breaks when there is a single quote in event.title. I know this is not a specific Filament-Fullcalendar problem but is there someone who knows a solution? Extra html parameter for Alpine tooltip?
Beta Was this translation helpful? Give feedback.
All reactions