[@types/oojs-ui] Can't add a number input widget to a field layout #69604
Unanswered
jwbth
asked this question in
Issues with a @types package
Replies: 1 comment
-
Thanks for the discussion about "oojs-ui", some useful links for everyone: Pinging the DT module owners: @diskdance, @ChlodAlejandro. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There seems to be some inconstistency with
OO.ui.NumberInputWidget
:With other input types (e.g.
OO.ui.TextInputWidget
) it's okay.Update: The source of this seems to be the hack to fix LSP violation: as soon as I replace
Omit<TextInputWidget.Prototype, "getRange">
withTextInputWidget.Prototype
, it becomes okay (but highlights the LSP violation).Beta Was this translation helpful? Give feedback.
All reactions