I put in HTML
console.log(foo["_pristineData"]);
at console I see
value field is unique. I can get value filed by
document.getElementById("blablaInput").value;
it return BAR .
How to get text Bar join stock company based on BAR (what I can get)?
(Return a string, not an object like this question Get JavaScript object from array of objects by value of property The question is not duplicate)

foo["_pristineData"][1].textare you asking how to find the index, as thats 100% a dupe.BAR. I can getBARright now, but I don't know how to get its index. Seemly, When I get index success, I can get its text.BAR(fieldvalueis unique, it means 2 or many values are never duplicate.