Converts a simple text input into a tag input