title: How can I get the text of the value that was selected when the page was first loaded select2
body: <p>Hi I am new using select2 framework.</p>
  <p>When the page is loaded for the first time, I bring the value in the session selected.
  Then I want to get the text of that value but it always returns the text of the first value.</p>
  <p><a href="https://i.stack.imgur.com/luah3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/luah3.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/xcRYw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xcRYw.png" alt="enter image description here" /></a></p>