Merge pull request #15548 from Budibase/revert-default-icon
Revert setting a default icon
This commit is contained in:
commit
72785cd342
|
@ -311,8 +311,6 @@ export class ComponentStore extends BudiStore<ComponentState> {
|
|||
component[setting.key] = fieldOptions[0]
|
||||
component.label = fieldOptions[0]
|
||||
}
|
||||
} else if (setting.type === "icon") {
|
||||
component[setting.key] = "ri-star-fill"
|
||||
} else if (useDefaultValues && setting.defaultValue !== undefined) {
|
||||
// Use default value where required
|
||||
component[setting.key] = setting.defaultValue
|
||||
|
|
|
@ -1455,7 +1455,8 @@
|
|||
"type": "icon",
|
||||
"label": "Icon",
|
||||
"key": "icon",
|
||||
"required": true
|
||||
"required": true,
|
||||
"defaultValue": "ri-star-fill"
|
||||
},
|
||||
{
|
||||
"type": "select",
|
||||
|
|
Loading…
Reference in New Issue