The current component is accepting only string values an addition needs to be made to take in tags and a list of tags too.