onChange={(newVal) => {
              const val = [];
              newVal.forEach((nv) => {
                val.push(
                  type.isPrimitive(uniqueValueOptions[nv])