8000 Make the inputmode modifier accept an enum by mattesmohr · Pull Request #162 · vapor-community/HTMLKit · GitHub
[go: up one dir, main page]

Skip to content

Make the inputmode modifier accept an enum - #162

Merged
mattesmohr merged 5 commits into
mainfrom
fix-inputmode-attribute
Nov 30, 2024
Merged

mattesmohr merged 5 commits into
mainfrom
fix-inputmode-attribute

Conversation

@mattesmohr
@mattesmohr mattesmohr commented Nov 30, 2024 •
Copy link
Copy Markdown
Member

The inputmode attribute is actually an enumerated attribute. Therefore the modifier should accept an enum. This pull request corrects that.

Input()
   .inputMode(.numeric)

@mattesmohr
mattesmohr marked this pull request as ready for review November 30, 2024 13:14
@mattesmohr
mattesmohr merged commit 18061c6 into main Nov 30, 2024
@mattesmohr
mattesmohr deleted the fix-inputmode-attribute branch November 30, 2024 13:19
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

0