botframework - 无论如何要增加 input.text 元素的大小?
问题描述
I want to increase the size of the input box so when I email it it's actually usable for users to enter info, this is the best I could come up with but it's not changing size. I think it's not even possible?
{
"type": "AdaptiveCard",
"version": "1.0",
"body": [
{
"type": "Container",
"items": [
{
"type": "Input.Text",
"id": "multilineInputId",
"placeholder": "enter comment",
"isMultiline": true,
"value": "EDITABLE TEXT",
"height":"auto"
}
]
}
],
"actions": [
{
"type": "Action.Http",
"title": "Click me!",
"method": "POST",
"url": "https://contoso.com/api/...",
"body": "<body of the POST request>",
"headers": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
]
}
解决方案
Adaptive Cards 团队正在处理这项工作,但我不记得确切的时间表。有关更多信息,请参阅 2 月社区电话:https ://youtu.be/SEsjrFIf110
目前尚不清楚这是否也会调整文本框,或者只是卡片大小本身,但无论哪种情况,请确保您的自适应卡片本身至少为 1.2(它是当前版本 1.0)
推荐阅读
- python - Python 的复制对象即使在被删除后仍然存在(copy.copy 函数)
- javascript - 如何使模式发生变化,即看、玩、听。我只是出于某种原因玩 discord.js
- java - 创建不显示代码的 java 库
- latex - 在表格环境中换行
- javascript - Api 没有使用 react-redux
- flutter - Flutter 圆角矩形中的阴影
- arrays - 理解 awk 中的 IN 语句
- java - 如何使用 Payara Micro Bundle 将包列入白名单?
- r - R / Rvest / RSelenium:从 JS 站点抓取数据
- java - 我们什么时候使用堆栈
st = 新堆栈 (); 以及何时使用 Stack st = new Stack();?