I'm attempting to set two items in the config file in my Settings widget using this code, but it's only setting the second item ('templateLayerId').
function onDoneClicked(): void {
onSettingChange({
id: id,
config: config.set('templateLayerName', selectedItem.title),
});
onSettingChange({
id: id,
config:
config.set('templateLayerId', selectedItem.id),
});
}What's the proper syntax for setting multiple items?