We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ace6bfa commit 48c4b75Copy full SHA for 48c4b75
packages/serialization/form/src/formSerializationWriter.ts
@@ -136,9 +136,7 @@ export class FormSerializationWriter implements SerializationWriter {
136
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
137
const rawValues = values.filter((x) => x !== undefined).map((x) => `${x}`);
138
if (rawValues.length > 0) {
139
- rawValues.forEach((val) => {
140
- this.writeStringValue(key, val);
141
- });
+ this.writeCollectionOfPrimitiveValues<string>(key, rawValues);
142
}
143
144
};
0 commit comments