Small improvements to the custom theme generator

This commit is contained in:
Pieter Vander Vennet 2021-03-23 13:51:34 +01:00
parent 6d548b560f
commit 3e130ebe80
4 changed files with 18 additions and 2 deletions

View file

@ -61,6 +61,13 @@ export default class TagRenderingPanel extends InputElement<TagRenderingConfigJs
function setting(input: InputElement<any>, id: string | string[], name: string, description: string | UIElement): SingleSetting<any> {
return new SingleSetting<any>(value, input, id, name, description);
}
this._value.addCallback(value => {
if(value?.freeform?.key == ""){
value.freeform = undefined;
this._value.ping();
}
})
const questionSettings = [