Skip to content

Conversation

@mattesmohr
Copy link
Member

The autocomplete attribute is actually an enumerated attribute. However, the unique aspect here is that the attribute also allows a list of values. Therefore the modifier should accept either an enum or a set of options.

Input()
   .autocomplete(.off)

Input()
   .autocomplete([.name, .givenName])

@mattesmohr mattesmohr marked this pull request as ready for review December 30, 2024 21:24
@mattesmohr mattesmohr merged commit dc2b315 into main Dec 31, 2024
1 check passed
@mattesmohr mattesmohr deleted the fix-autocomplete-attribute branch December 31, 2024 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant