Skip to content

Commit c1a7c73

Browse files
add fallback to injected options
1 parent 3121125 commit c1a7c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin/VStepperForm.vue

+1-1
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)