feat(cabana): code editor, colour and mail image fields, mail branding and the image library
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -126,6 +126,10 @@ func compileSettingWithTypes(pluginID string, item pact.SettingsItem, fsys fs.FS
|
||||
// A password field is a write-only secret on a settings form (D-13):
|
||||
// bound like a scalar, checked against lagoon.Encrypted, never served.
|
||||
secret := field.Type == passwordFieldType
|
||||
// mailpreview is valueless: never bound, never accepted in a save body.
|
||||
if field.Type == mailPreviewType {
|
||||
continue
|
||||
}
|
||||
if (!scalarFormField(field.Type) && !secret && field.Type != taglistType) || protectedFillKey(field.Name) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user