Don't send undefined with HTML input
This commit is contained in:
parent
58e735dd77
commit
3cda7efaaa
|
@ -355,6 +355,9 @@ export class VideoEditComponent implements OnInit, OnDestroy {
|
|||
for (const setting of this.pluginFields) {
|
||||
await this.pluginService.translateSetting(setting.pluginInfo.plugin.npmName, setting.commonOptions)
|
||||
|
||||
// Not a form input, just a HTML tag
|
||||
if (setting.commonOptions.type === 'html') continue
|
||||
|
||||
const validator = async (control: AbstractControl) => {
|
||||
if (!setting.commonOptions.error) return null
|
||||
|
||||
|
|
Loading…
Reference in New Issue