Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mokhosh committed Apr 8, 2024
1 parent 6b42c0d commit c85f2b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ php artisan filament-kanban:install

## Before You Start

> [!IMPORTANT]
> [!IMPORTANT]
> You should have some `Model` with a `status` column. This column can be called `status` in the database or anything else.
I'm also assuming there's a `title` column on your model, but you can have `name` or any other column to represent a title.
Expand Down Expand Up @@ -195,18 +195,18 @@ The `data` array contains the form data, and the `state` array contains the full

### Customizing modal's appearance

You can customize modal's title, size and the labels for save and cancel buttons:
You can customize modal's title, size and the labels for save and cancel buttons, or use Filament's slide-over instead of a modal:

```php
protected string $editModalTitle = 'Edit Record';

protected bool $editModalSlideOver = true;

protected string $editModalWidth = '2xl';

protected string $editModalSaveButtonLabel = 'Save';

protected string $editModalCancelButtonLabel = 'Cancel';

protected bool $editModalSlideOver = true;
```

## Customization
Expand Down Expand Up @@ -270,7 +270,7 @@ Are you a visual learner? I have created some Youtube videos to get you started
> [!WARNING]
> These videos are recorded with version 1.x of the package.
> It is now much simpler to use the package, and requires much less code from you.
>
>
> Hopefully, version 2.x is simple enough to not require videos, but you can still learn a thing or two from these.
[![Creating a Kanban Board in FilamentPHP using filament-kanban: Part 1, Basic setup](https://i3.ytimg.com/vi/GquNTj50E78/maxresdefault.jpg)](https://www.youtube.com/watch?v=GquNTj50E78)
Expand Down

0 comments on commit c85f2b2

Please sign in to comment.