@functionalcms/svelte-components 5.5.0 → 5.5.1

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.
@@ -142,10 +142,9 @@
142
142
  id={field.id}
143
143
  name={field.id}
144
144
  required={field.required}
145
- readonly={field.readonly}
146
145
  disabled={field.disabled}
147
146
  class={field.class}
148
- items={field.options}
147
+ items={field.options.map(option => ({ name: option.label, value: option.value }))}
149
148
  bind:value={field.value}
150
149
  />
151
150
  {:else}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@functionalcms/svelte-components",
3
- "version": "5.5.0",
3
+ "version": "5.5.1",
4
4
  "license": "MIT",
5
5
  "watch": {
6
6
  "build": {