Skip to content

Commit 0ee4176

Browse files
committed
Add data-form-handle to <form> tag
1 parent 4781a77 commit 0ee4176

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/elements/Form.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@ public function defineHtmlTag(string $key, array $context = []): ?HtmlTag
11921192
'accept-charset' => 'utf-8',
11931193
'data' => [
11941194
'fui-form' => $this->getConfigJson(),
1195+
'form-handle' => $this->handle,
11951196
'form-submit-method' => $this->settings->submitMethod ?: false,
11961197
'form-submit-action' => $this->settings->submitAction ?: false,
11971198
'loading-indicator' => $this->settings->loadingIndicator ?: false,

0 commit comments

Comments
 (0)