Skip to content

Conversation

@jf908
Copy link

@jf908 jf908 commented Apr 11, 2025

useTemplateRef returns a HTMLElement | null ref which has an incompatible type with the previous HTMLElement | undefined.

This PR adds | null to the allowed type of the parent ref to make it compatible. This is still backwards compatible with the old ref style too. As far I could tell, no functional changes needed to be made to support it.

@vercel
Copy link

vercel bot commented Apr 11, 2025

@jf908 is attempting to deploy a commit to the Formkit Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant