Item-floating-label and programmatic value set

Is there an appropriate way to the switch an input with item-floating-label to the “stacked” format when programmatically setting the value? I’m getting this:

image

Manually adding input-with-value doesn’t seem to solve the problem. I’m thinking the workaround will have to be to manually switch that input back to a regular item-label class.

You need to add item-input-with-value class to parent item-input element. But better call $(inputEl).trigger('input') so it can do it automatically

That worked, thanks!