mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-04 14:42:53 +00:00
Clear map key select after adding an entry
This commit is contained in:
@@ -208,6 +208,7 @@ const renderHtml: RenderHook = {
|
||||
if (path.model.get(path.push(key)) === undefined) {
|
||||
path.model.set(path.push(key), DataModel.wrapLists(children.default()))
|
||||
}
|
||||
keyPath.set('')
|
||||
}
|
||||
const blockState = config.validation?.validator === 'block_state_map' ? states?.[relativePath(path, config.validation.params.id).get()] : null
|
||||
const keysSchema = blockState?.properties
|
||||
|
||||
Reference in New Issue
Block a user