useNestedConfigurator() React Dev-Kit
I'm trying to access the nested configurator, but am unsure how to do so. I have attached some screenshots to better show what I'm trying to accomplish.
I'm currently able to select the size with useAttribute(), but when trying to access the nested configurator beyond that, I'm unsuccessful.
I believe the issue is what should be passed into the useNestedConfigurator() hook. I've passed in "Size", the various IDs, values, but nothing works.
-
For the useNextedConfigurator() hook, you should be able to pass in the string name of the attribute (e.g. useNestedConfigurator('Size')), and you'll get back an array that defines the nested configurator. I would double check that no typos were made in the name of the attribute, and that the case matches (size vs. Size, though this likely shouldn't be an issue). If that doesn't work, could you provide any error message you're seeing? We should be able to assist further with that.
1 -
Thanks for the response, I have attached some snippets of what I'm seeing on my end.
Import into BoothForm.js
I have these in a useEffect() dependency array.
No error messages in the console. Just undefined.
0 -
Hi Robert_Campbell,
It appears to be a bug on the dev-kit, I will create a ticket for this issue.
Sorry about that.
0 -
No problem, Thank you for the response. I'll check in soon to see if it has been fixed.
0
Please sign in to leave a comment.
Comments
4 comments