inspector: choices in help modal
docs: continue
This commit is contained in:
parent
1237c3f434
commit
8de2c8b3bf
4 changed files with 32 additions and 27 deletions
|
|
@ -270,6 +270,11 @@ class UiInspector extends UiWidget {
|
|||
<div class="header">
|
||||
<p>Type: <code>${defaultValue.type}</code></p>
|
||||
<p>Default: <code>${JSON.stringify(defaultValue.value)}</code></p>
|
||||
${
|
||||
defaultValue.choices ? html`
|
||||
<p>Choices: ${raw(defaultValue.choices.map(x=>'<code>' + x + '</code>').join(', '))}</p>
|
||||
` :''
|
||||
}
|
||||
<p>Dynamic: <code>${dynamic ? 'true' : 'false'}</code></p>
|
||||
</div>
|
||||
<div class="description">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue