Autocomplete attribute behavior difference on Safari

We have a credit card registration page where each input fields are loaded in each individual iframes.

Something like this: https://codesandbox.io/p/sandbox/autocomplete-and-iframes-qvy8dz

Using pre-registered test credit cards

Chrome: All fields are auto-filled Safari: Only credit card number field is auto-filled Is there a way to make Safari behave the same way with Chrome?