fix(new_session.ui): correct Form field configuration per bricks-framework spec

- Replace 'select' uitype with 'code' uitype
- Use data_url instead of options.url for dynamic data loading
- Add valueField and textField to map backend response fields
- Fix URL path to /hermes-web-cli/hermes_services/list/
- Complies with module-development-spec and bricks-framework requirements
This commit is contained in:
yumoqing 2026-04-23 18:33:28 +08:00
parent fab7170954
commit 1fe8bb0027

View File

@ -25,14 +25,14 @@
"maxWidth": "600px",
"fields": [
{
"uitype": "select",
"uitype": "code",
"name": "service_id",
"label": "Select Service",
"required": true,
"placeholder": "Choose a Hermes service",
"options": {
"url": "/hermes-web-cli/hermes_services/options"
}
"data_url": "/hermes-web-cli/hermes_services/list/",
"valueField": "value",
"textField": "text"
}
]
},