Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Make it possible to add children to FormTokenField
  • Loading branch information
scruffian committed Jan 15, 2020
commit 9dd40b81a7cf4919411b050bc5661846ae9f0282
1 change: 1 addition & 0 deletions packages/components/src/form-token-field/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ class FormTokenField extends Component {
/>
) }
</div>
{ this.props.children }
<p id={ `components-form-token-suggestions-howto-${ instanceId }` } className="components-form-token-field__help">
{ this.props.tokenizeOnSpace ?
__( 'Separate with commas, spaces, or the Enter key.' ) :
Expand Down