Add new value to correct element attribute Refs #18099
Allow to add multiple values for a reference element Fixes #18099