Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
morlandi committed Oct 15, 2024
1 parent 14e8065 commit 6021d16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ dialog1 = new HtmxForms.Dialog({
dialog1.open()
```

![image](./etc/screenshots/static_dialog.png)
![a static dialog](./etc/screenshots/static_dialog.png)

<i>A static dialog</i>


### A dynamic Dialog
Expand Down Expand Up @@ -408,6 +410,10 @@ when a form is detected in the content downloaded from the server.
It keeps refreshing the modal after each submission while validation errors
are detected, and dismisses it only when the form validation finally succeedes.

![form submission and validation](./etc/screenshots/form_submission_and_validation.png)

<i>Form submission and validation</i>

## Implementation

If you're curious, here below is a detailed explanation of how all this is achieved.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6021d16

Please sign in to comment.