type
ComponentRef
ComponentRef selects a custom admin component and its optional settings. It changes the UI without changing how the field's value is stored or typed.
Properties
| Property | Type | Description |
|---|---|---|
Key | string | The Key value. |
PluginKey | string | The PluginKey value. |
Config | store.Value | The Config value. |
Full signature
type ComponentRef struct {
Key string
PluginKey string
Config store.Value
configArguments int
}Methods
ComponentRef.Err()Err validates static component syntax and finite public object configuration. Omitted configuration is allowed; explicitly supplied zero or null values are not objects. Registration and supported host checks belong to configuration resolution.
ComponentRef.MarshalJSON()MarshalJSON encodes only public static component data. An unspecified reference is null and absent configuration is omitted.