Update widgetCreate_
in /core/field_input.ts
to return HTMLInputElement
instead of HTMLElement
#7253
Closed
1 task done
Labels
ghc-osd
Reserved for open source day: https://anitab-org.github.io/open-source-day/
good first issue
issue: feature request
Describes a new feature and why it should be added
size: small
Bugs that can be picked up and completed in 1-3 days
🚧⚠️ 🚧 This issue is being saved for Grace Hopper Open Source Day. 🚧⚠️ 🚧 An event we're running to help girls and non-binary technologists make their first contributions to open source! Please see our list of help wanted issues if you'd like to contribute!
Check for duplicates
Problem
This is a minor note, though in
/core/field_input.ts
we always know that the type info is of typeHTMLInputElement
, which is anHTMLElement
but with more input-specific stuff. The proper type info should be returned so that input-specific manipulations of the element can be done.Request
HTMLElement
toHTMLInputElement
for widgetCreate_ in/core/field_input.ts
! 😁as HTMLInputElement
cast in showInlineEditor.Alternatives considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: