From bd657e297f11da49fefcede2feb5a4080d2350f1 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Tue, 3 Dec 2019 09:54:31 -0600 Subject: [PATCH 1/3] remove id from row element --- src/components/form/form_row/__snapshots__/form_row.test.js.snap | 1 - src/components/form/form_row/form_row.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/form/form_row/__snapshots__/form_row.test.js.snap b/src/components/form/form_row/__snapshots__/form_row.test.js.snap index 85b29410e9c..638705fb96f 100644 --- a/src/components/form/form_row/__snapshots__/form_row.test.js.snap +++ b/src/components/form/form_row/__snapshots__/form_row.test.js.snap @@ -462,7 +462,6 @@ exports[`EuiFormRow props helpText is rendered 1`] = ` exports[`EuiFormRow props id is rendered 1`] = `
Date: Tue, 3 Dec 2019 16:14:12 -0600 Subject: [PATCH 2/3] adding generated id to EuiFormRow wrapping element --- .../described_form_group.test.js.snap | 1 + .../__snapshots__/form_row.test.js.snap | 25 +++++++++++++++++++ src/components/form/form_row/form_row.js | 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/src/components/form/described_form_group/__snapshots__/described_form_group.test.js.snap b/src/components/form/described_form_group/__snapshots__/described_form_group.test.js.snap index b26ca92ce1b..4e1616848fe 100644 --- a/src/components/form/described_form_group/__snapshots__/described_form_group.test.js.snap +++ b/src/components/form/described_form_group/__snapshots__/described_form_group.test.js.snap @@ -335,6 +335,7 @@ exports[`EuiDescribedFormGroup ties together parts for accessibility 1`] = ` >
+ {optionalLabel}
{field} From 26e4a59a59023235a26812cd8bc95c4321e26a80 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Wed, 4 Dec 2019 10:10:03 -0600 Subject: [PATCH 3/3] CL --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97b9c03e478..2935dec5969 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ ## [`master`](https://github.com/elastic/eui/tree/master) -No public interface changes since `16.2.0`. +**Breaking changes** + +- Changed to generated `id` value for `EuiFormRow` to ensure uniqueness ([#2588](https://github.com/elastic/eui/pull/2588)) ## [`16.2.0`](https://github.com/elastic/eui/tree/v16.2.0)