WooCommerce fields in checkout page keep resetting back to their initial values – issue

I am building a JS address lookup plugin for the WooCommerce WordPress plugin, and for some reason, the shipping address values populated by the lookup plugin keep resetting back to their original values.

Video: https://www.youtube.com/watch?v=PJf_JZfuR48&ab_channel=MartinStanik

I am getting stuck with the options/ideas of what is wrong with the code. However, it seems to me that the difficulty of integrating the JS plugin in WooCommerce started in the WP platform version 6.6.

I am running my testing environment on the default WooCommerce UI template locally by Local (host, ref. https://localwp.com/) Version 9.1.0+6719.

Any idea what’s wrong?
WordPress 6.6.2
WooCommerce 9.3.3