add tag input
ref #3735
Merge remote-tracking branch 'origin/master'