[JavaScript][Input.Number] [Type of value has changed with latest update]
See original GitHub issuePlatform
What platform is your issue or question related to? (Delete other platforms).
- JavaScript
Author or host
Host: Microsoft Teams (multi-window).
Version of SDK
JS v2.5.0.
Details
The value
prop of Input.Number has changed from string
type in v1.2.5 to number | undefined
type in v2.x.
This can potentially break existing host scenarios.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Input type ="number" Value does not update in html is this ...
My input had type="number" and I was setting a non numeric value to it using JavaScript. This is a really subtle mistake and...
Read more >input[type='number'] value isn't updated · Issue #13651
Assuming I'm thinking about this correctly, it looks like the issue is that the value attribute is reporting as "01" when it should...
Read more >Why the number input is the worst input
This is the flipside of the invalid number value issue: the number input allows you to enter values that are technically acceptable numbers,...
Read more >HTML DOM Input Number value Property
Input Number value Property ; Change the number of a number field: document.getElementById("myNumber").value = "16"; ; Get the number of a number field:...
Read more >Form Input Bindings
If the value cannot be parsed with parseFloat() , then the original value is used instead. The number modifier is applied automatically if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@aroraketan @shalinijoshi19 this is by design. The behavior was changed because the JS SDK’s behavior didn’t match that of the other SDKs.
🎉
AdaptiveCards@2020.12
has been released which fixes this issue.🎉Handy links: