I recently started exploring onINP and on integration in my React app code, I found it only randomly reports the eventTarget. Most of the times I got eventTarget as "". What could be the reason. Does INP need some attribute/HTML semantics to be in some particular way to work? Below is my code:
I recently started exploring onINP and on integration in my React app code, I found it only randomly reports the eventTarget. Most of the times I got eventTarget as "". What could be the reason. Does INP need some attribute/HTML semantics to be in some particular way to work? Below is my code:
Here is what I get generally:
How do I get the eventTarget to further work on this field data?