返回列表 发布新帖

[问题求助] 动态组件,表单组件,如何在label后加上问号提示框

30 1
发表于 2024-12-27 23:28:33 | 查看全部 阅读模式
问答

紧急程度

已完结

最佳答案

查看完整内容

1.首先升级组件库到最新版本 2.按照组件库写入下面代码:动态组件库from表单配置,可参考动态组件库form文档,tooltipxxx中写入冒泡相关内容 layout: [         {           id: 'def77886-875d-49e1-8886-be5613db3836',           type: 'FORM_LIST',           schema: 'detail',    &n ...

评论1

陈希楼主Lv.1 发表于 2024-12-27 23:28:33 | 查看全部
1.首先升级组件库到最新版本 2.按照组件库写入下面代码:动态组件库from表单配置,可参考动态组件库form文档,tooltipxxx中写入冒泡相关内容

layout: [

        {
          id: 'def77886-875d-49e1-8886-be5613db3836',
          type: 'FORM_LIST',
          schema: 'detail',
          disabled: false,
          editable: true,
          dataType: 'object',
          operations: [],
          group: [
            {
              id: 'string-input',
              type: 'INPUT',
              schema: 'value',
              headerName: '文本输入',
              placeholder: '请输入内容',
              dataType: 'string',
              editable: true,
              iconType:"xx", //提示icon
              tooltipTitle:"xxxxxxxxxx",//提示标题
              tooltipMode:"normal", //提示模型
              promptFontColor:"red", //提示字体颜色
              promptFontSize:"18", //字体大小
              promptContent:"xxxxxxxxxxxxxxxxx" //提示内容文本
            },
          ],
          scriptFilters: [],
        },
      ],
      pageData: {
        detail: {
          value: '',
        },
      },

回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 关注公众号
Copyright © 2025 鼎捷數智股份有限公司 版权所有 All Rights Reserved. Powered by Discuz! X5.0
关灯 在本版发帖
即将开放
返回顶部
快速回复 返回顶部 返回列表