Merge branch 'master' into feat/url-binding-default
This commit is contained in:
commit
bd1f287a7d
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue