mirror of https://github.com/hashicorp/consul
12 lines
383 B
Handlebars
12 lines
383 B
Handlebars
<IvyCodemirror @value={{value}} @name={{name}} @class={{class}} @options={{options}} @valueUpdated={{action onkeyup}} />
|
|
<pre><code>{{yield}}</code></pre>
|
|
{{#if (and (not readonly) (not syntax))}}
|
|
<PowerSelect
|
|
@onChange={{action "change"}}
|
|
@selected={{mode}}
|
|
@searchEnabled={{false}}
|
|
@options={{modes}} as |mode|>
|
|
{{mode.name}}
|
|
</PowerSelect>
|
|
{{/if}}
|