Floating Labels + Outline Inputs problem with jQuery

Hi, I’ve notice a little UI bug with Floating Label + Outline Inputs.
When I try to precompile the form with jQuery using $(’#my_element’].val(‘my string’)
as you can see the placeholder is still shown. If I type something in the form the UI fixed.
Am I doing something wrong?

First pic is the form with the placeholder bug

When the form is focused

After I typed something

try also to trigger change event

$('#my_element').val('my string').trigger('change')
1 Like

Great as always, thank you m8