angular - 您如何以模式形式转到下一个选项卡?
问题描述
我对架构表单有疑问,也许你可以帮助我,这是我的表单,我需要从一个选项卡转到另一个选项卡。
有没有办法做到这一点?
我有一个底部,可以从选项卡中获取 id,但我不能让它跳转到其他选项卡。
"form": [
{
"type": "fieldset",
"title": "Ficha Base",
"items": [
{
"type": "tabs",
"style": "padding-top: 5px;",
"tabs": [
{
"title": "Datos Personales",
"id": "1",
"items": [
{
"type": "section",
"htmlClass": "row",
"items": [
{
"type": "section",
"htmlClass": "col-md-6 col-xs-12",
"items": [
{
"type": "button",
"style": "btn btn-primary",
"title": "Enviar",
"onClick": "siguientePestana('1')"
}
]
}
]
}
]
},
{
"title": "Datos Académicos Enseñanza Superior",
"id": "2",
"items": [
{
"type": "section",
"htmlClass": "row",
"items": [
{
"type": "section",
"htmlClass": "row",
"items": [
{
"type": "section",
"htmlClass": "col-md-12",
"items": [
{
"type": "button",
"style": "btn btn-primary",
"title": "Enviar1",
"onClick": "siguientePestana('2')",
"condition": "model.ocultarCampo"
},
{
"type": "help",
"helpvalue": "<div class=\"alert alert-info\">Asegurece de entrar en con el perfil y fecha correcta para actualizar el formulario</div>",
"condition": "!model.ocultarCampo"
}
]
}
]
}
]
}
]
}
]
}
]
}
]
解决方案
推荐阅读
- php - 如何使用 Google Places API 将 Google 评论嵌入 HTML 或 PHP
- f# - 如何在 F# 中使用 xplot/plotly 跳过图形块?
- excel - Excel Product-If 函数没有 CSE 公式
- api - 来自谷歌表格的 API 调用太长
- windows - 安装 docker 后无法从 Windows 访问 wsl Web 应用程序
- angular - 带电容器 convertFileSrc 的问题电容器
- javascript - Django 项目不渲染 React.js
- node.js - NodeJS SyntaxError:意外的操作令牌
- python - Selenium 下拉按钮的问题
- spring-boot - Spring Boot @query nativequery 不起作用