Closed zammitjohn closed 2 months ago
Well, I can not trigger auto-fill in my Safari... I am still trying how to trigger it. 😓
Hey 👋 @hsuanyi-chou! Ensure you have Auto Fill web forms enabled in Safari settings, and a personal contact (with email) added.
Have you managed to reproduce it @hsuanyi-chou?
The safari setting is the same as yours. But still not showing 😥 Maybe related to the label.
Kinda busy this sprint at work. I'll check it out soon.
I can't show the right-icon in the input like your video.
I copied your code and manually right-click to trigger 'auto-fill' and select a value from Contact
. (name or email in contact)
Both name
and e-mail
fields do not show any errors and set the value to the input.
I checked the MultipleSelector
that I didn't use Array.from
.
It is not reproducible that way, only from the right icon in field (for whatever reason). Seems like an issue with the Command menu component that MultipleSelector uses. I resolved the issue by downgrading the version of cmdk to "0.2.0", as discussed here: https://github.com/shadcn-ui/ui/issues/3051
"cmdk": "0.2.0",
Autofill works without issues now.
Environment
Description
When attempting to use the autofill feature with a multi-selector as an email field, the application throws an unhandled runtime error.
Error Message
Steps to Reproduce
Expected Behavior
The autofill should populate the multi-selector email field without any errors.
Actual Behavior
The application throws a TypeError, indicating that
Array.from
is called with a null or undefined argument.Demo
https://github.com/hsuanyi-chou/shadcn-ui-expansions/assets/64637336/f3aab4e5-cbcd-4632-9faa-75bca4c922cb
Minimal example