Skip to content

Angular: How to use with file input #679

Closed Answered by crutchcorn
alator21 asked this question in General
Discussion options

You must be logged in to vote

It should be possible to do a one-way binding from the HTMLInput to TanStack Form, but not the other way around (DOM limitation).

To do this, you'll want to use handleChange($any($event).files) rather than target.value

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@alator21
Comment options

Answer selected by crutchcorn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants