[.Net][HTML] [Doesn't display AdaptiveNumberInput Initial value]
See original GitHub issuePlatform
- .NET HTML
Version of SDK
NuGet 1.2.4
Details
I am not able to set the initial value of an AdaptiveNumberInput
field. When I set its Value field to a number it will not be shown in the input box for Bot Framework Emulator and WebChat (see the image below). The JSON does have the value but it is not rendered. AdaptiveTextInput
does not have this problem.
I do remember this issue existed in the Adaptive designer too prior to the latest release 1.2.9. The issue does not exist in the designer anymore but it still exist at least in emulator and WebChat in .Net.
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (12 by maintainers)
Top Results From Across the Web
html - Input value doesn't display. How is that possible?
The purpose of the 'default' parameter is to display a default value when no form data ($this->data) is present.
Read more >Input.Number
Displayed when no selection has been made. Type: string; Required: No. value. Initial value for this field. Type: ...
Read more >Input.Date - Schema Explorer - Adaptive Cards
Displayed when no selection has been made. Type: string; Required: No. value. The initial value for this field expressed in YYYY- ...
Read more >Text formatting in cards - Teams
In this module, learn what is card text formatting in Microsoft Teams and format cards with markdown.
Read more ><input type="number"> - HTML: HyperText Markup Language
<input> elements of type number are used to let the user enter a number. They include built-in validation to reject non-numerical entries.
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
@arman-g - sorry for the delay in having this issue resolved. Please feel free to reactivate this issue (or file a new one) if you encounter problems after WebChat R12 is available.
Web Chat has bumped Adaptive Cards to 2.x, and is available in our daily builds. Support for 1.3 schema on the DirectLine service is still in progress. Testing out our dailies may fix some previously buggy behaviors like this one, but schema 1.3 cards still won’t be passed along by DL. Our next release date is scheduled for March 8.