Don't add the component if the text is empty