generated from filamentphp/plugin-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: avoid search enter key submitting the form (#4)
- Loading branch information
1 parent
ac71cef
commit 0c6c599
Showing
2 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
# TODO | ||
- Support custom sizes that can be passed by user | ||
- Add support for multipe uploads | ||
- Add Full pagination | ||
- Add support for Spatie Media Plugin | ||
- Write tests | ||
- Fix loading indicators | ||
- Support custom sizes that can be passed by user | ||
- Support more providers like pexels, bing images etc | ||
- Add support for multipe uploads | ||
- Add Full pagination | ||
- Add support for Spatie Media Plugin | ||
|
||
- CleanupUnusedUploadedFile should add support Spatie Media | ||
- `$component->saveUploadedFiles()` saves the file to DB directly, which wouldnt work on create record page | ||
- if dont run `$component->saveUploadedFiles()`, there is no way we can show a preview of uploaded file from url | ||
|
||
We have two exceptions for adding support for spatie media | ||
|
||
1. It can only be used on Edit record page and it would forcefully auto save the picked file. | ||
2. User has to blindly save the form without viewing the preview. | ||
|
||
Workaround: | ||
|
||
- Write tests |