-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
Description
描述问题:
InputText 输入框 的 前缀和后缀,在表单静态展示时不显示;希望在表单静态展示下也能显示前缀和后缀,
类似于InputNumber 数字输入框的前缀和后缀
截图或视频:
如何复现(请务必完整填写下面内容):
- 粘贴有问题的完整
amis schema代码:
{
"type": "page",
"body": {
"type": "form",
"static":true,
"api": "/amis/api/mock2/form/saveForm",
"data": {
"unit": "MB"
},
"body": [
{
"name": "text",
"type": "input-text",
"label": "text",
"prefix": "¥",
"suffix": "RMB"
},
{
"name": "prefix",
"type": "input-text",
"label": "text",
"prefix": "¥"
},
{
"name": "suffix",
"type": "input-text",
"label": "text",
"suffix": "${unit}"
}
]
}
}
Reactions are currently unavailable