mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
660 B
660 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| You can use the form="another-form" attribute on buttons to submit a different form | 1461703831960440837 | weekly-thread-2021-46 | doekenorg |
|
2021-11-19T14:32:05+00:00 | you-can-use-the-formanother-form-attribute-on-buttons-to-submit-a-different-form |
🔥 I sometimes forget you can use form="form-name" on input types to hook fields inside one form to another. This makes it as if those fields were inside that <form>-tag.
This is super useful if the fields are rendered in the wrong form, but UI wise it makes sense.