added required to tag input