Closed petru-guider closed 1 month ago
@petru-guider - Thank you for your patience. It seems that when using the isRequired
property, it is necessary to include the label
and errorMessage
properties, as well. I did a cursory search and didn't see this stated anywhere obvious in their docs. I only discovered the requirement when looking at the dev console for the browser where a couple warnings where displayed. Curiously, the Adaptive Cards Designer didn't produce any errors or warnings when I ran the card there. Anyhow, once I included the additional fields, the card rendered without issue.
Closing a resolved.
Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
Microsoft-BotFramework/3.1 botframework-connector/4.22.1 core-http/3.0.4 Node/v18.19.0 OS/(arm64-Darwin-23.4.0)
Describe the bug
Adaptive Card
Input.Text
not displaying when used withisRequired: true
.To Reproduce
Steps to reproduce the behavior:
GET
request to/api/notify
endpoint with a route handler sends a proactive message using following cardisRequired
afterisMultiline
GET
request to/api/notify
Expected behavior
Input.Text
works properly withisRequired: true
.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I'm also using
Input.ChoiceSet
and it works fine withisRequired: true
.Tracking Status
Dotnet SDK [TODO]()
Javascript SDK [TODO]()
Python SDK [TODO]()
Java SDK [TODO]()
Samples [TODO]()
Docs [TODO]()
Tools [TODO]()