当方「配送マネージャー」アプリを実装しておりまして、その場合の対応についてこのフォーラムの内容を確認して私の解決方法も共有しますのでご覧ください。
const haisosm = document.getElementById('haisosm');
const after_change_haisosm = new MutationObserver(records => {
const haisoyamatoshippingtime = document.getElementById('haisoyamatoshippingtime');
haisoyamatoshippingtime.setAttribute('form', 'cart');
});
after_change_haisosm.observe(haisosm, {
childList: true
});
上記はMutationObserverを使って、アプリでdomが生成されたタイミングを検知しつつ、当該の#
haisoyamatoshippingtimeに対して、Attributeを追加する事で、日時の指定を反映させる事に成功しています。
フォーラムの皆様の知恵に感謝します!