reactjs - react-datetime onClick event stop propagation -




i working https://github.com/youcanbookme/react-datetime standard out of box. task @ hand stop click event propagating further parents because toggles parents box.

anyone knows how add click handler?

for example works:

(<input type="text" value={item.service_close_date} onclick={(e) => {             e.stoppropagation();         }     } />); 

but not:

(<datetime value={item.service_close_date} onclick={(e) => {             e.stoppropagation();         }     } />); 

there no click handler in datetime see.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -