Skip to content

Commit bc0d434

Browse files
committed
docs(file-input): add disabled
1 parent 756501a commit bc0d434

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<script lang="ts">
2+
import { Fileupload, Label } from "flowbite-svelte";
3+
</script>
4+
5+
<Label for="with_helper" class="pb-2">Upload file</Label>
6+
<Fileupload disabled id="with_helper" class="mb-2" />

src/routes/docs/forms/file-input.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ The file input component can be used to upload one or more files from the device
3535
{#include Clearable.svelte}
3636
```
3737

38+
## Disabled
39+
40+
```svelte example
41+
{#include Disabled.svelte}
42+
```
43+
3844
## Sizes
3945

4046
```svelte example

0 commit comments

Comments
 (0)