forked from MapComplete/MapComplete
Small improvements to the custom theme generator
This commit is contained in:
parent
6d548b560f
commit
3e130ebe80
4 changed files with 18 additions and 2 deletions
|
@ -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 = [
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue