editor: display current widget value in the value property's help modal
This commit is contained in:
parent
90b34d7475
commit
6b96d208c9
2 changed files with 9 additions and 1 deletions
|
|
@ -5,6 +5,9 @@
|
|||
- bug fixes
|
||||
- custom module: `receive()` not passing boolean arguments properly
|
||||
|
||||
- editor
|
||||
- display current widget value in the `value` property's help modal
|
||||
|
||||
## 1.25.3
|
||||
|
||||
- bug fixes
|
||||
|
|
|
|||
|
|
@ -403,8 +403,13 @@ class UiInspector extends UiWidget {
|
|||
${htmlHelp}
|
||||
</div>
|
||||
<div class="computed">
|
||||
<p>Computed value: <code class="pre">${computedValue || 'empty'}</code></p>
|
||||
<p>Computed property: <code class="pre">${computedValue || 'empty'}</code></p>
|
||||
</div>
|
||||
${name === 'value' ? raw(`
|
||||
<div class="computed">
|
||||
<p>Current value: <code class="pre">${JSON.stringify(this.widget.getValue())}</code></p>
|
||||
</div>
|
||||
`): ''}
|
||||
</div>
|
||||
`})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue