You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by mv-go December 16, 2022
According to docs the type of nativeEl and the return type of getNativeElement is The native input/textarea DOM Element
However, the typings that shipped with the library suggest that the type here is a very general Element.
Could it be possible to narrow it down to HTMLInputElement | HTMLTextAreaElement? Or are there some edge cases that I'm missing?
The text was updated successfully, but these errors were encountered:
* feat(ui): Improve QInput.nativeEl types
Also exposing QInputNativeElement type with generics for more flexibility
* feat(ui): Improve QFile.nativeEl types
Also exposing QFileNativeElement type
* feat(ui): Improve QInputNativeElement with file type handling
Discussed in #15121
Originally posted by mv-go December 16, 2022
According to docs the type of
nativeEl
and the return type ofgetNativeElement
isThe native input/textarea DOM Element
However, the typings that shipped with the library suggest that the type here is a very general
Element
.Could it be possible to narrow it down to
HTMLInputElement | HTMLTextAreaElement
? Or are there some edge cases that I'm missing?The text was updated successfully, but these errors were encountered: