How to use onChange in crayon and react component for freshdesk plugin

Hello,

How tu use onChange in component react ?

I tried to apply OnChange on the component input of crayon , but it is not triggered.

I tried to use fwChange , as on the documentation , but no trigger

my render :

return(
                            <fw-input
                                fwChange={(e) => console.log(e)}
                                onChange={(e) => console.log(e)}
                            ></fw-input>
)

Thanks to help !

@aliweb88
you need to use fwChange only

kindly take a look at the example below

Hope it helps :slight_smile:

Thanks

4 Likes

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.