@websline/system-components 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -212,7 +212,11 @@
212
212
  }
213
213
  : {}}
214
214
  {...rest}>
215
- <input {name} readonly type="hidden" value={value.join(",")} />
215
+ {#if name}
216
+ {#each value as tag (tag)}
217
+ <input type="hidden" name={`${name}[]`} value={tag} readonly />
218
+ {/each}
219
+ {/if}
216
220
  <ValueList
217
221
  bind:inputRef
218
222
  {localValues}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websline/system-components",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },