Autocomplete is not working in safari mobile


i am using autocomplete for two input field which take the values from an array , if we select one the other change automatically acordinly as you can see here

and it’s working on windows , mac and android but not on safari mobile as you can see in this video

when i changed the event from change to close , when i select an item from the dropdown of the autocomplete it gives me undefined ( on all other platform it work perfectly)
i logged the returned value from the close event :
in chrome it gives a value ( array with the selected item inside it)
in safari mobile it gives a value ( an empty array )

any help please

iPhone X with latest iOS 12 and 13 beta 2. Autocomplete works correctly in your website. Can’t see issues like on video