Skip to content

Commit

Permalink
Add instanceId to radio buttons name attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia committed Jul 13, 2017
1 parent dec79d1 commit caeabce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/sidebar/post-visibility/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class PostVisibility extends Component {
<div key={ value } className="editor-post-visibility__choice">
<input
type="radio"
name="editor-post-visibility__setting"
name={ `editor-post-visibility__setting-${ instanceId }` }
value={ value }
onChange={ onSelect }
checked={ checked }
Expand Down

0 comments on commit caeabce

Please sign in to comment.