disable tag when text is empty