Page MenuHomePhabricator

Cannot enter negative numbers in OOUI NumberInputWidget
Closed, DuplicatePublicBUG REPORT

Description

The following NumberInputWidget can be set to a negative number either by clicking the - button, or entering 1 then left and entering minus, but you cannot type -1 into the field:

js
    var _input = new OO.ui.NumberInputWidget( {
      step: 1,
      }
    });

You should be able to type a negative number in a general number field.

Related Objects

StatusSubtypeAssignedTask
OpenNone
DuplicateBUG REPORTNone