Why does [myPlot.on - 'plotly_selected' ] mode not appear as a string?

Hello. I’m a beginner at plotly.
I am writing a question about scatter chart.

When I click Data in this chart (myPlot.on - ‘plotly_click’) , the annotation has been set to work, and the data on the y-axis is displayed as a string.

However, When I drag Data in this chart (myPlot.on - ‘plotly_selected’) , the data on the y-axis is displayed as a number.

why does selected mode not appear as a String?

And I have one more question.

When I drag Data in this chart (myPlot.on - ‘plotly_selected’) , console.log(data.points[i]) is shown below.

The id value appears to be undefined, and I want to know where this id value is set.

Thanks a lot.
Please understand me if you don’t mind.

Sounds like a bug. Can you share a reproducible example?