I\'m using this function to dynamically create a user chosen number of input-groups:
const tag = (tag, className, props = {}) => Object.assign(documen