Hi,before v2023 i use the following to “pre” select some value on add pages.
$('#x_fieldname').val('DataValue5');
$('#x_fieldname').trigger('change');
This does not work anymore. In older versions the data was “pre loaded”, in v2023 only on user interaction.
I try some different things, but nothing works. (Maybe the same as other post “How to Set Value to Select2 Lookup”)
i cant find realy the trick.