15 questions
2
votes
1
answer
56
views
Is there a way to exclude specific dates using Flowbite-Svelte's Datepicker?
I am working on a simple website, using SvelteKit. For the UI, I use Flowbite-Svelte and some of its components.
During early stages of development, I just used the availableFrom property. Now I want ...
2
votes
2
answers
154
views
How to remove the padding of the accordion items on the latest version of flowbite svelte?
I am currently using flowbite version 1.2.0 on my svelte app.
The issue I have is that I am unable to remove the padding from the AccordionItems contents since I want to control this myself. Looks ...
1
vote
1
answer
444
views
Declare a snippet inside a component without it being implicitly passed to the component as a prop
The Svelte tutorial demonstrates how to declare a table row snippet:
<tbody>
{#snippet monkey()}...{/snippet}
{@render monkey()}
</tbody>
So far so good. Makes sense to put a ...
0
votes
0
answers
140
views
Flowbite Svelte Navbar issue
I have been trying to get Flowbite Svelte's Navbar component to work properly. It works fine for mobile but any screen that is large it does not show the links of the NavUl attribute.
src/lib/...
0
votes
0
answers
46
views
Property 'FlowbiteInstances' does not exist on type 'Window & typeof globalThis'
I am creating a multiple modals (one for each row of a table in a loop) where each modal should be shown on click event of its own "View" button. In my case, its always the last Modal that ...
0
votes
1
answer
255
views
Binding chart not working when using ApexCharts at a flowbite svelte projects
I want to use the ApexCharts method at a flowbite svelte projects, but it does not work
I followed the sample code from
https://flowbite-svelte.com/docs/plugins/charts#Binding_chart
It is not working, ...
-1
votes
1
answer
712
views
Issue with flowbite-svelte
I'm relatively new to using flowbite and i just started using flowbite-svelte but for some reason the template isn't working, the hamburger menu works fine but the design isnt reflecting, any ways to ...
0
votes
1
answer
204
views
Open a modal inside an element in an {#each ... } loop
Problem: Every time I open the modal in one of the child components in the loop it always opens the modal in the last element of the loop. I cannot make it open the modal of the other child elements ...
0
votes
1
answer
185
views
SvelteKit - Nested Prop Cannot read properties of undefined (reading 'whatever')
Simply I don't get it. I store fetch result in writable store and retrieve those data, but I got undefined error when I want to use nested json data (school) see below. Why?
<p>item: {$data....
1
vote
1
answer
376
views
Having trouble with compiling with Webpack Encore en Svelte Flowbite
I've been fiddling around with a project running Symfony 7 as backend together with Webpack Encore to handle all my style and JS stuff. It has been running great with Tailwind and DaisyUI. I then ...
0
votes
1
answer
267
views
flowbite-svelte component props boolean values
I'm playing around with flowbite-svelte and the NavBar component and setting fluid=true
<Navbar fluid=true> OR <Navbar fluid="true">
but in VSCode it's showing an error that ...
0
votes
1
answer
304
views
Svelte: How to use template expressions in a 'style' block?
I am trying to create a simple Svelte Component (NumberFormatting)
<script lang="ts">
export let number: string ;
const formatNumber = (value: string) => {
return ...
1
vote
3
answers
907
views
Svelte flowbite NavBar Display Issue
I just started using Flowbite with Svelete. I followed the instructions located in
the following link, and the sample works as expected. But in a new +layout.svelte, I added a NavBar, which I copied ...
0
votes
1
answer
855
views
Bind nested properties in Svelte
Disclaimer: Total Svelte noob (only started learning two days ago).
I have a login form that uses a custom "Input" component, this component uses another component (from Flowbite). What I ...
0
votes
3
answers
247
views
How to get exported value of svelte component?
The library flowbite-svelte has component Popover with open property. The property changing by click on button. In order to control external event listener (no in example) I need to know current value ...