|
1 | 1 | # undefined Documentation - Full Context
|
2 |
| -# Generated on 2025-09-19T13:09:26.440Z |
| 2 | +# Generated on 2025-09-21T08:07:56.350Z |
3 | 3 | # This file contains all documentation concatenated in logical order
|
4 | 4 |
|
5 | 5 |
|
@@ -17973,6 +17973,17 @@ The file input component can be used to upload one or more files from the device
|
17973 | 17973 | <Helper color="emerald" class="mt-2">Selected files: {fileNames}</Helper>
|
17974 | 17974 | ```
|
17975 | 17975 |
|
| 17976 | +## Disabled |
| 17977 | + |
| 17978 | +```svelte |
| 17979 | +<script lang="ts"> |
| 17980 | + import { Fileupload, Label } from "flowbite-svelte"; |
| 17981 | +</script> |
| 17982 | + |
| 17983 | +<Label for="with_helper" class="pb-2">Upload file</Label> |
| 17984 | +<Fileupload disabled id="with_helper" class="mb-2" /> |
| 17985 | +``` |
| 17986 | + |
17976 | 17987 | ## Sizes
|
17977 | 17988 |
|
17978 | 17989 | ```svelte
|
@@ -18948,6 +18959,20 @@ Use this component to set a number value inside a form field by applying the typ
|
18948 | 18959 | </form>
|
18949 | 18960 | ```
|
18950 | 18961 |
|
| 18962 | +## Disabled |
| 18963 | + |
| 18964 | +```svelte |
| 18965 | +<script lang="ts"> |
| 18966 | + import { PhoneInput, Input } from "flowbite-svelte"; |
| 18967 | +</script> |
| 18968 | + |
| 18969 | +<form class="mx-auto max-w-sm space-y-2"> |
| 18970 | + <Input disabled type="number" id="number-input" aria-describedby="helper-text-explanation" placeholder="90210" required /> |
| 18971 | + |
| 18972 | + <PhoneInput classes={{ input: "rounded-lg" }} placeholder="123-456-7890" disabled phoneType="countryCode" /> |
| 18973 | +</form> |
| 18974 | +``` |
| 18975 | + |
18951 | 18976 | ## ZIP code input
|
18952 | 18977 |
|
18953 | 18978 | Use this example with an icon and helper text to set a ZIP code value inside a form field by also applying the pattern attribute to validate the input using a regular expression for a 5 digit number.
|
@@ -19960,6 +19985,18 @@ You will also find more advanced search components on this page including dropdo
|
19960 | 19985 | </Search>
|
19961 | 19986 | ```
|
19962 | 19987 |
|
| 19988 | +## Disabled |
| 19989 | + |
| 19990 | +```svelte |
| 19991 | +<script lang="ts"> |
| 19992 | + import { Search, Button } from "flowbite-svelte"; |
| 19993 | +</script> |
| 19994 | + |
| 19995 | +<Search disabled> |
| 19996 | + <Button disabled class="me-1">Search</Button> |
| 19997 | +</Search> |
| 19998 | +``` |
| 19999 | + |
19963 | 20000 | ## Search input with clearable
|
19964 | 20001 |
|
19965 | 20002 | Use the simplest form of a search input component with an icon and a search button next to the text field.
|
@@ -20678,6 +20715,18 @@ Get started with the default example of a textarea component below.
|
20678 | 20715 | <Textarea id="textarea-id" placeholder="Your message" rows={4} name="message" class="w-full" />
|
20679 | 20716 | ```
|
20680 | 20717 |
|
| 20718 | +## Disabled |
| 20719 | + |
| 20720 | +Get started with the default example of a textarea component below. |
| 20721 | + |
| 20722 | +```svelte |
| 20723 | +<script lang="ts"> |
| 20724 | + import { Textarea } from "flowbite-svelte"; |
| 20725 | +</script> |
| 20726 | + |
| 20727 | +<Textarea disabled id="textarea-id" placeholder="Your message" rows={4} name="message" class="w-full" /> |
| 20728 | +``` |
| 20729 | + |
20681 | 20730 | ## Clearable
|
20682 | 20731 |
|
20683 | 20732 | ```svelte
|
@@ -20943,6 +20992,16 @@ Use this example of a default timepicker component to allow the user to select a
|
20943 | 20992 | <Timepicker />
|
20944 | 20993 | ```
|
20945 | 20994 |
|
| 20995 | +## Disabled |
| 20996 | + |
| 20997 | +```svelte |
| 20998 | +<script lang="ts"> |
| 20999 | + import { Timepicker } from "flowbite-svelte"; |
| 21000 | +</script> |
| 21001 | + |
| 21002 | +<Timepicker disabled /> |
| 21003 | +``` |
| 21004 | + |
20946 | 21005 | ## Using state and bind
|
20947 | 21006 |
|
20948 | 21007 | ```svelte
|
|
0 commit comments