Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eduardolagoeiro/sk-error-form-enhance
https://github.com/eduardolagoeiro/sk-error-form-enhance
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eduardolagoeiro/sk-error-form-enhance
- Owner: eduardolagoeiro
- Created: 2023-04-21T22:34:43.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-21T22:40:29.000Z (almost 2 years ago)
- Last Synced: 2024-11-24T10:26:11.839Z (3 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Bug Report: enhanced form action error only shown with layout present
### Description
When submitting a form an error is thrown but it is only displayed when a layout is present. Without the layout, the error is not displayed unless the `use:enhance` option is removed.
### Steps to Reproduce
1. Create a form with use:enhance.
2. Submit the form.
3. If a layout is present, the error is displayed. If not, the error is not displayed unless `use:enhance` is removed.### Expected Behavior
The error should be displayed regardless of whether a layout is present or `use:enhance` is used.
### Actual Behavior
The error is only displayed when a layout is present, or when `use:enhance` is removed.