修正 fa fab 的字体优先级,微信、QQ、微博等图标现在使用 Brands 字体。
This commit is contained in:
@@ -215,6 +215,13 @@ class SchemaProvider {
|
||||
}
|
||||
|
||||
if (in_array($type, ['select', 'radio', 'palette', 'image_select'], true) && !empty($field['options'])) {
|
||||
// Optional enum fields use an empty string to mean "unset".
|
||||
// This is required for clearable palettes such as the footer
|
||||
// background preset, whose default is intentionally empty.
|
||||
if ($value === '' && empty($field['required'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$valid_values = array_column($field['options'], 'value');
|
||||
// Multi-select: accept array values when schema.multiple is set
|
||||
// (legacy / SPA may still use type=select multiple).
|
||||
|
||||
Reference in New Issue
Block a user