I faced issue related to bootstrap icon placed in the text field on the right side by using span tag. Well issue is that, whenever a validation message displays like this field if required, icon height get increasing more than text field height.
Here I have attached a screenshot and also add code, how I make an icon on the right side of the text box.
@ronpat when submit event fired and any field remains blank or not fill up, validation message generated on the element. And bootstrap icon height increase.
From your screen shot, it looks like the “error message” and the icon are in the same box, and when the “error message” becomes visible, the space over and under the icon increases so the icon will remain vertically “middled”.
Try putting the “error message” in a different box from the text field and the icon.