title: Selecting a record in Dropdown should throw error based on value in the record
body: <p>HI I have a dropdown for a field in a form which shows records with each record having values (Name, Status).</p>
  
  <p>Ex:: A1  Active</p>
  
  <pre><code> A2  Active
   A3  Inactive
   A4  Active
   A5  Inactive
  </code></pre>
  
  <p>If i select A3 or A5 which are inactive i should get a warning/error saying you are selecting inactive value. </p>
  
  <p>How can i acheive this? What is best way to acheive this?
  Thanks in advance.</p>