Bläddra i källkod

Update README

State decision for not implementing setting values on disabled elements.
master
TheoryOfNekomata 1 år sedan
förälder
incheckning
14b5abcae5
1 ändrade filer med 4 tillägg och 0 borttagningar
  1. +4
    -0
      README.md

+ 4
- 0
README.md Visa fil

@@ -172,4 +172,8 @@ add values to the form (such as specifying which action to take for the rest of
[usability table for `SubmitEvent.submitter`](https://caniuse.com/mdn-api_submitevent_submitter) to check if your target
browser is supported.

Setting form values of disabled elements is not supported by design, as `formxtra` is made for submittable form
elements. If a disabled element's value needs to be changed somehow, the form instance is already available, and the
element to be looked up is accessible via `HTMLFormElement.elements`.

The sources are under the [MIT license](https://code.modal.sh/TheoryOfNekomata/formxtra/raw/branch/master/LICENSE).

Laddar…
Avbryt
Spara