When multiple modes are enabled fullscreen button does not work as expected
Opened this issue · 0 comments
rajmondburgaj commented
Below is my code:
<VJsoneditor
v-model="val"
:height="'400px'"
:plus="plus"
:options="options"
/>
options: {
mode: 'code',
modes: ['text', 'code', 'view'],
enableSort: false,
enableTransform: false,
navigationBar: true,
statusBar: true,
history: false,
search: false
}
computed: {
plus () {
return this.options.mode === 'code'
}
}
In this case the fullscreen button appears correctly because the first selected mode is code
, but in case I set another value, for example text
, and then switch to code from the dropdown, the button does not appear anymore.
Is this a bug or I am doing something wrong ?