add taginput attribute support