question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[.Net][HTML] [Doesn't display AdaptiveNumberInput Initial value]

See original GitHub issue

Platform

  • .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.

83581451-b0e49500-a4f3-11ea-9fbc-343c3af3e06f

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
paulcam206commented, Feb 8, 2021

@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.

1reaction
corinagumcommented, Feb 8, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found