Replies: 2 comments 8 replies
-
Hello @RakulAgn , I am also going through a similar problem, have you managed to solve this issue? I can update the traists from inside the react component but dont know how to rerender the component with the updated trait value. |
Beta Was this translation helpful? Give feedback.
3 replies
-
@parthrc Hey I Figured Out to Use Custom Trait |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone tried using a custom trait in a React wrapper? I'm having trouble accessing the value inside the custom trait.
The value comes from a React component, and I'm using
onChange
to set the value in the trait like this:If this is correct, the value should be set in the trait.
Here’s how I've defined the trait:
I should be able to access the trait during an onEvent change, right? Here's my onEvent implementation:
Any ideas on why I might not be getting the value? expecting something like creating only the functionality of the trait inside the plugin but the ui should be react component
@artf
Beta Was this translation helpful? Give feedback.
All reactions