plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.

Home Page:https://plotly.com/dash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] dcc.Input selectionStart not functioning as expected

e-wallace opened this issue · comments

Describe the bug

dcc.Input properties selectionStart and selectionEnd not updating and returning None or initial set value

Expected behavior

Expect that the values of selectionStart (or selectionEnd) will return the offset into the element's text content of the first (or last) selected character.

Screenshots

This is reported in the following community posts:
https://community.plotly.com/t/explaining-selectionstart-in-dash-input-component/39023
https://community.plotly.com/t/selectionstart-and-selectionend-doesnt-seem-to-work-for-input-not-available-for-textarea/54746
https://community.plotly.com/t/selection-in-dash-component-not-working/36707
Screen Shot 2023-12-20 at 3 33 41 PM