From ccff3620ee3e2b47b1b5e79e98609888fe7e3bf0 Mon Sep 17 00:00:00 2001 From: Eddy Ernesto del Valle Pino Date: Mon, 13 Feb 2023 11:06:39 +0100 Subject: [PATCH 1/2] Add missing HTML attribute capture to JsxDOM.res Adding the `capture` attribute to JsxDOM.res https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/capture --- jscomp/others/jsxDOM.res | 1 + 1 file changed, 1 insertion(+) diff --git a/jscomp/others/jsxDOM.res b/jscomp/others/jsxDOM.res index df0954d80a..aca2a0570b 100644 --- a/jscomp/others/jsxDOM.res +++ b/jscomp/others/jsxDOM.res @@ -136,6 +136,7 @@ type domProps = { defaultValue?: string, /* global html attributes */ accessKey?: string, + capture?: [#user | #environment], className?: string /* substitute for "class" */, contentEditable?: bool, contextMenu?: string, From c951b46ee736b8a8532e6f2efa4dc629c9e71a10 Mon Sep 17 00:00:00 2001 From: Christoph Knittel Date: Tue, 3 Sep 2024 16:55:59 +0200 Subject: [PATCH 2/2] CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e59f582e68..7eb085aad0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -125,6 +125,7 @@ - Deprecate `%external` extension, which has never been officially introduced. https://github.com/rescript-lang/rescript-compiler/pull/6906 - Deprecate `xxxU` functions in Belt. https://github.com/rescript-lang/rescript-compiler/pull/6941 - Improve error messages for function arity errors. https://github.com/rescript-lang/rescript-compiler/pull/6990 +- Add missing HTML attribute capture to JsxDOM.res. https://github.com/rescript-lang/rescript-compiler/pull/7006 # 11.1.3