1. Anand Srivastava1's Avatar
    I seem to have hit an Edge browser specific issue with number input fields and knockout textInput binding.

    I have the latest edge version, namely: Microsoft Edge 38.14393.0.0; Microsoft EdgeHTML 14.14393

    Until the anniversary update, the number input fields did not do anything with up/down arrows on Edge like they do on Chrome/Firefox. However, the latest version seems to have made some changes such that the visible value differs from what knockout has in the bound variable; when up/down arrows are used. Typed values reflect correctly.

    Here is the jsfiddle; try to change the value using up/down arrows:

    https://jsfiddle.net/nkkfmLmc/13/

    Html:

    Amount:
    <input type="number" min="0" max="100" step="1" data-bind="textInput: amount" />
    <br />
    Current Amount $<span data-bind="text:amount()"></span>

    JS:

    function PersonViewModel(amount) {
    this.amount = ko.observable(amount);
    }

    ko.applyBindings(new PersonViewModel(51.22));

    The value updates correctly if the number is typed-in instead.

    Any confirmation of the Edge issue or workaround(short of not using the number input type altogether) would be appreciated .
    12-20-2016 02:17 AM

Similar Threads

  1. Is it possible to have a limit number of tabs on edge?
    By Windows Central Question in forum Ask a Question
    Replies: 5
    Last Post: 03-03-2017, 10:06 AM
  2. Android photos on my SD card
    By vhl71 in forum Microsoft Lumia 950
    Replies: 5
    Last Post: 12-21-2016, 06:31 PM
  3. Alcatel Fierce XL 5055W MMS not working
    By rivman05 in forum Windows 10 Mobile
    Replies: 19
    Last Post: 12-21-2016, 11:41 AM
  4. Skype sms (since .576) stopped working on laptop.
    By Rosebank in forum Windows 10 Mobile
    Replies: 5
    Last Post: 12-20-2016, 09:55 AM
  5. Lumia 950XL won't update after using recovery tool
    By James Clarkson in forum Windows 10 Mobile
    Replies: 2
    Last Post: 12-19-2016, 02:59 PM
LINK TO POST COPIED TO CLIPBOARD