You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The options object from the useFieldPlugin is continuously undefined in my field plugins. I logged out the type also and I can see that it's stuck in a loading value.
I'm experiencing this on with the version "@storyblok/field-plugin": "1.0.1" and "vue": "^3.2.47". I also created a new project using version "@storyblok/field-plugin": "1.0.2",.
I really would love to get a fix for this as we need to use the same plugin for multiple StoryBlok spaces so we are relying on the options to switch the credentials.
To Reproduce
Steps to reproduce the behavior:
Log out the options object from the useFieldPlugin as shown below;
<scriptsetuplang="ts">
import type {SetModalOpen} from '@storyblok/field-plugin'
import {useFieldPlugin} from '@storyblok/field-plugin/vue3';
const {data: pluginData,type: pluginType} = useFieldPlugin()
console.log("PLUGIN OPTIONS", pluginData?.options);
const props = defineProps<{isModalOpen: booleansetModalOpen: SetModalOpen<any>}>()</script>
Expected behavior
The options object should have the properties defined in the following field-plugin.config.json` file;
Describe the bug
The
options
object from theuseFieldPlugin
is continuously undefined in my field plugins. I logged out thetype
also and I can see that it's stuck in aloading
value.I'm experiencing this on with the version
"@storyblok/field-plugin": "1.0.1"
and"vue": "^3.2.47"
. I also created a new project using version"@storyblok/field-plugin": "1.0.2",
.I really would love to get a fix for this as we need to use the same plugin for multiple StoryBlok spaces so we are relying on the options to switch the credentials.
To Reproduce
Steps to reproduce the behavior:
Log out the
options
object from theuseFieldPlugin
as shown below;Expected behavior
The
options
object should have the properties defined in the following field-plugin.config.json` file;Screenshots
Additional context
The text was updated successfully, but these errors were encountered: