BATMAN
notification in js
I have combined fullcalendar and notification together using js, where the notification will show the details of the event. However, the notifications will be stacked as i click on the second event (There are 2 notifications, 1 shows the previous event details that i first clicked, the other shows the event details of the second event i clicked). Is there any way i can cancel out or close the notification of the first event as i click on the second event? ( i just want to show 1 notification of the event instead of multiple)
Even though i did try to use element.remove(), it seems like the notifications are cached and will show everything once called.
2 replies
PatternBlock Error
i having an error in this part
from this https://filamentphp.com/docs/2.x/forms/fields#text-input
is there supposed to be a
)
after the $mask
before the patternBlocks
?2 replies
Resource is redirecting to unknown link
Hi, i have a resource that is redirecting me to an unknown local development link. (I'm using localhost:8000/admin/xxx) But it is redirecting to https:localhost/admin/xxx, even after changing it manually the problem still persists. Is there a reason why this is happening and how should i fix it? grateful for the help, thx.
3 replies
component javascript
I know this is a bit irrelevant, but i still wanted to ask. I know that js is only run once in components part, if there is any changes to the list of components (etc filtering), the js will be affected, how can i refresh the js every time the list of components changes? or is there any other way?
1 replies
looping components that have custom javascript in it.
Hi i have a custom page that shows a list of components by looping it and each component has js in it. The js is stacked on top of one another as each component is loaded initially. There is filtering function that shows specific records. However, the stacked js is still loaded and is crashed due to the lack of specific components, (since some records are not shown, and js is asking for the values of the missing components). Is there a way where i can load the js according to the components it has filtered?
2 replies