You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/infolists/docs/03-icon.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,7 @@ IconEntry::make('is_featured')
80
80
->boolean()
81
81
```
82
82
83
-
> If this column in the model class is already cast as a `bool` or `boolean`, Filament is able to detect this, and you do not need to use `boolean()` manually.
83
+
> If this attribute in the model class is already cast as a `bool` or `boolean`, Filament is able to detect this, and you do not need to use `boolean()` manually.
84
84
85
85
<AutoScreenshotname="infolists/entries/icon/boolean"alt="Icon entry to display a boolean"version="4.x" />
Copy file name to clipboardexpand all lines: packages/schemas/docs/06-primes.md
+44-1
Original file line number
Diff line number
Diff line change
@@ -178,7 +178,7 @@ Text::make('Warning')
178
178
179
179
### Customizing the text size
180
180
181
-
Text columns have small font size by default, but you may change this to `TextSize::ExtraSmall`, `TextSize::Medium`, or `TextSize::Large`.
181
+
Text has a small font size by default, but you may change this to `TextSize::ExtraSmall`, `TextSize::Medium`, or `TextSize::Large`.
182
182
183
183
For instance, you may make the text larger using `size(TextSize::Large)`:
184
184
@@ -398,3 +398,46 @@ Image::make(
398
398
<UtilityInjectionset="schemaComponents"version="4.x">As well as allowing a static value, the `tooltip()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>
399
399
400
400
<AutoScreenshotname="primes/image/tooltip"alt="Image with a tooltip"version="4.x" />
401
+
402
+
## Unordered list component
403
+
404
+
Unordered lists can be inserted into a schema using the `UnorderedList` component. The list items, comprised of [text components](#text-component), are passed to the `make()` method:
405
+
406
+
```php
407
+
use Filament\Schemas\Components\Text;
408
+
use Filament\Schemas\Components\UnorderedList;
409
+
410
+
UnorderedList::make([
411
+
Text::make('Tables'),
412
+
Text::make('Schemas'),
413
+
Text::make('Actions'),
414
+
Text::make('Notifications'),
415
+
])
416
+
```
417
+
418
+
<UtilityInjectionset="schemaComponents"version="4.x">As well as allowing a static value, the `make()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>
If you are modifying the text size of the list content, you will probably want to adjust the size of the bullets to match. To do this, you can use the `size()` method. Bullets have small font size by default, but you may change this to `TextSize::ExtraSmall`, `TextSize::Medium`, or `TextSize::Large`.
425
+
426
+
For instance, you may make the bullets larger using `size(TextSize::Large)`:
<UtilityInjectionset="schemaComponents"version="4.x">As well as allowing a static value, the `size()` method also accepts a function to dynamically calculate it. You can inject various utilities into the function as parameters.</UtilityInjection>
442
+
443
+
<AutoScreenshotname="primes/unordered-list/large"alt="Unordered list with large bullets"version="4.x" />
Copy file name to clipboardexpand all lines: packages/tables/docs/02-columns/03-icon.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ IconColumn::make('is_featured')
66
66
->boolean()
67
67
```
68
68
69
-
> If this column in the model class is already cast as a `bool` or `boolean`, Filament is able to detect this, and you do not need to use `boolean()` manually.
69
+
> If this attribute in the model class is already cast as a `bool` or `boolean`, Filament is able to detect this, and you do not need to use `boolean()` manually.
70
70
71
71
<AutoScreenshotname="tables/columns/icon/boolean"alt="Icon column to display a boolean"version="4.x" />
0 commit comments