Skip to content

Commit e0297f7

Browse files
Merge pull request #58 from webdevnerdstuff/dev
add fallback to injected options
2 parents 02d58d6 + c1a7c73 commit e0297f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin/VStepperForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ const attrs = useAttrs();
200200
const componentId = useId();
201201
const slots = useSlots();
202202
const emit = defineEmits([...componentEmits]);
203-
const injectedOptions = inject<PluginOptions>(pluginOptionsInjectionKey)!;
203+
const injectedOptions = inject<PluginOptions>(pluginOptionsInjectionKey, AllProps);
204204
205205
206206
// -------------------------------------------------- Props //

0 commit comments

Comments
 (0)