How to display the chemistry formula in the html input?

Viewed 23

My input box is set as autocomplete. The list items are chemistry formulas with subscripts. I can only show the formulas on the dropdown selections. I want to show the formula format in the input box. Dropdown List with subscripted items

I want like as following. Expected format in the input box

Is there anyone who has experienced this? or anyone who can resolve this?

0 Answers
Related