mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
feat(plugins): add defaultValue for all field types
This commit is contained in:
parent
00bd4c02ee
commit
d3a98db6d0
41 changed files with 204 additions and 178 deletions
|
|
@ -340,9 +340,10 @@ class PluginController extends BaseController
|
|||
$value,
|
||||
$this->request->getPost('client_timezone')
|
||||
)->setTimezone(app_timezone()),
|
||||
'markdown' => new Markdown($value),
|
||||
'rss' => new RSS($value),
|
||||
default => $value,
|
||||
'markdown' => new Markdown($value),
|
||||
'rss' => new RSS($value),
|
||||
'comma-separated-string' => implode(',', $value),
|
||||
default => $value,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue