Skip to content

Commit

Permalink
Passing name attribute into switch component (#2533)
Browse files Browse the repository at this point in the history
* Passing name attribute into switch component

* Update changelog, add missing PR links
  • Loading branch information
Adrian Bruinhout authored and Nicolás Bevacqua committed Nov 15, 2019
1 parent 9d4798f commit 9be3f47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `16.0.0`.
**Bug fixes**

- `EuiSwitch` now passes `name` attribute into underlying `button` ([#2533](https://github.com/elastic/eui/pull/2533))

## [`16.0.0`](https://github.com/elastic/eui/tree/v16.0.0)

- Made `EuiCard` more accessible ([#2521](https://github.com/elastic/eui/pull/2521))
- Added ability to pass `children` to `EuiCard` ([#2521](https://github.com/elastic/eui/pull/2521))
- Replaced root element in `EuiFlyout`, switching from `span` to `Fragment` ([#2527](https://github.com/elastic/eui/pull/2527))
- Upgraded `react-virtualized` to `9.21.2`
- Upgraded `react-virtualized` to `9.21.2` ([#2531](https://github.com/elastic/eui/pull/2531))

**Bug fixes**

Expand All @@ -21,7 +23,7 @@ No public interface changes since `16.0.0`.
## [`15.0.0`](https://github.com/elastic/eui/tree/v15.0.0)

- Converted `EuiShowFor` and `EuiHideFor` to TS ([#2503](https://github.com/elastic/eui/pull/2503))
- Upgraded `react-ace` to `7.0.5`
- Upgraded `react-ace` to `7.0.5` ([#2526](https://github.com/elastic/eui/pull/2526))

**Bug fixes**

Expand All @@ -40,7 +42,7 @@ No public interface changes since `16.0.0`.
- Added new `euiControlBar` component for bottom-of-screen navigational elements. ([#2204](https://github.com/elastic/eui/pull/2204))
- Converted `EuiFlyout` to TypeScript ([#2500](https://github.com/elastic/eui/pull/2500))
- Added an animation to the arrow on `EuiAccordion` as it opens / closes ([#2507](https://github.com/elastic/eui/pull/2507))
- Upgraded `react-input-autosize` to `2.2.2`
- Upgraded `react-input-autosize` to `2.2.2` ([#2514](https://github.com/elastic/eui/pull/2514))

**Bug fixes**

Expand Down
1 change: 0 additions & 1 deletion src/components/form/switch/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export type EuiSwitchProps = CommonProps &
export const EuiSwitch: FunctionComponent<EuiSwitchProps> = ({
label,
id,
name,
checked,
disabled,
compressed,
Expand Down

0 comments on commit 9be3f47

Please sign in to comment.