How to disable options based on avatar style selection? #483
Replies: 2 comments
-
|
The editor from your example only checks whether the SVG code differs with the option and once without the option. If there is no difference, the option is grayed out because it has no effect on the avatar. However, this is not a real check to see if earrings are visible. It has more to do with the internal structure of the different avatar styles, if that happens to be the case. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the reply. I want to implement this feature on React-native mobile side. is it possible to do it? if yes, how we can hide earrings when avatar has long hair? is there any documentation regarding it? if yes, please share |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to disable avatar style options based on selection.
For example: When I select longhair avatar style I want to disable Earrings option for that avatar style.
I want to do this functionality in React-native code for mobile app.
Let me share Screenshot so You can easily understand the problem. In the screenshot, When I select avatar style with longhair where ears are not visible. so earrings option becomes disable for that avatar style. how can i do the same for react-native mobile app?
Beta Was this translation helpful? Give feedback.
All reactions