Граф коммитов

16 Коммитов

Автор SHA1 Сообщение Дата
Claudio Pilotti 23e97222f8
feat: include submitter info.
Buttons allow you to overwrite a forms `method` with the `formmethod`
attribute. `buildRequest` now incorporates submitter info when
determining the submit requests method.
2024-05-02 10:47:54 +02:00
Claudio Pilotti 029fed30e6
test: use strict equality (deepEqual) to compare objects. 2024-02-08 08:57:45 +01:00
Claudio Pilotti fdadd6a3fd
test: verify remoteForm installs on form element. 2024-02-08 08:53:33 +01:00
Claudio Pilotti 3ec7f20e60
Install `remoteForm` directly onto passed element.
remoteForm can install itself onto any element that matches passed
selector. In some cases, you might want to install remoteForm onto
a specific form element without having to assign this form an `id` just
to make it selectable.

This change allows passing a `HTMLFormElement` reference to remoteForm
directly.
2024-01-22 14:03:10 +01:00
dgreif 691010c162 Skip events that already have default prevented 2022-06-16 21:59:58 -07:00
Ned Schwartz 6bb732ae52 configure karma to use chromium 2022-02-16 23:11:12 +00:00
Kristján Oddsson 94b2d3ce1b
Merge branch 'master' of github.com:github/remote-form into typescript 2020-04-27 13:52:33 +01:00
Kristján Oddsson 89f2264658
refactor(test): remove dependency on handler order 2020-04-24 10:58:46 +01:00
Kristján Oddsson 63f330b547
refactor(test): use dynamic imports in tests 2020-04-24 10:58:19 +01:00
Kristján Oddsson ba2c47f525
refactor(test): remove node_modules imports 2020-04-24 10:57:50 +01:00
Kristján Oddsson def66e9778
ignore typescript eslint error 2020-04-23 17:55:12 +01:00
Kristján Oddsson 1539e5ec88
prettier 2020-04-23 17:55:12 +01:00
Kristján Oddsson 12b08beba0
clean up eslint configuration 2019-05-13 15:41:41 +01:00
Kristján Oddsson 9775661b3c
remove unused header in tests 2019-05-13 15:32:59 +01:00
Kristján Oddsson 989b8d6424
replace rollup with babel 2019-05-10 11:18:00 +01:00
Kristján Oddsson 28f63c93d3
init 2019-04-16 12:37:32 +01:00