Merge branch 'master' into feat/url-binding-default

This commit is contained in:
Peter Clement 2025-02-13 17:24:06 +00:00 committed by GitHub
commit bd1f287a7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -311,8 +311,6 @@ export class ComponentStore extends BudiStore<ComponentState> {
component[setting.key] = fieldOptions[0] component[setting.key] = fieldOptions[0]
component.label = fieldOptions[0] component.label = fieldOptions[0]
} }
} else if (setting.type === "icon") {
component[setting.key] = "ri-star-fill"
} else if (useDefaultValues && setting.defaultValue !== undefined) { } else if (useDefaultValues && setting.defaultValue !== undefined) {
// Use default value where required // Use default value where required
component[setting.key] = setting.defaultValue component[setting.key] = setting.defaultValue

View File

@ -1455,7 +1455,8 @@
"type": "icon", "type": "icon",
"label": "Icon", "label": "Icon",
"key": "icon", "key": "icon",
"required": true "required": true,
"defaultValue": "ri-star-fill"
}, },
{ {
"type": "select", "type": "select",