25 Commits

Author SHA1 Message Date
235af19b2e fix: UiFile multiple — resultValue/set_formdata support file arrays; Form required check handles arrays 2026-07-02 15:42:19 +08:00
dc74074bdd feat: bricks i18n — 硬编码字符串改用 i18n._() + 翻译文件
编译的 dist/ 目录新增 i18n/{zh,en,jp,ko}/ 自动注入到 sage wwwroot/bricks/i18n/

翻译的字符串:
- conform.js: Conform/Discard → i18n._()
- dynamicaccordion.js: add a new record → i18n._()
- form.js: Submit/Reset/Cancel/Requirement → i18n._()
- jsoncall.js: access error → i18n._()
- llm.js: 知识库/召回数量/模版 → i18n._()

build.sh 新增 i18n 目录复制到 dist
2026-06-29 12:03:34 +08:00
Hermes Agent
17d7e946e8 feat: InlineForm支持wrap折行,搜索表单默认开启多行布局 2026-06-22 16:54:18 +08:00
Hermes Agent
937d6575ed fix: Form validation - fix red text CSS selector and add focus-to-clear 2026-06-18 17:45:28 +08:00
Hermes Agent
37f46ed1bd feat: Form validation — rules-based field validation with inline error display
- FormBase: added validate_rules(), _check_rule(), show_field_error(), clear_all_errors()
- FieldGroup: creates hidden error Text widget for fields with rules
- validation(): calls validate_rules() before submit, blocks on failure
- CSS: .inputbox.field-error red border, .field-error-msg red text
- Supported rule types: required, minlength, maxlength, min, max, pattern, email, number
2026-06-18 17:22:11 +08:00
84e1ebd1f0 fix: InlineForm codes→data映射给UiCode 2026-06-13 18:43:28 +08:00
abfb99aee8 feat: InlineForm控件 - 水平单行表单,支持自定义提交按钮样式 2026-06-13 18:32:06 +08:00
b206291898 bugfix 2026-04-22 17:56:55 +08:00
8a9bc2cdbb bugfix 2025-12-24 15:55:31 +08:00
9db92d6a4e bugfix 2025-12-24 15:52:54 +08:00
8b551128e0 bugfix 2025-12-24 15:47:57 +08:00
f5874a0d0c bugfix 2025-12-24 15:38:09 +08:00
7a97e94192 bugfix 2025-12-24 15:21:26 +08:00
1b52a701eb bugfix 2025-09-26 10:07:53 +08:00
79fedf7d3b bugfix 2025-09-26 09:16:49 +08:00
9ee961b857 bugfix 2025-09-26 09:04:22 +08:00
5a8e220dd9 bugfix 2025-09-26 09:02:46 +08:00
2e65d0f25b bugfix 2025-09-26 08:52:43 +08:00
77f81b7328 bugfix 2025-09-26 08:13:45 +08:00
44e1653223 bugfix 2025-09-26 08:10:38 +08:00
8a32666043 bugfix 2025-09-26 07:54:00 +08:00
c208e10c85 bugfix 2025-08-29 14:11:05 +08:00
75c8ffaf9b bugfix 2025-08-29 13:59:28 +08:00
4548db55fe bugfix 2025-08-29 13:56:21 +08:00
86d1672251 first commit 2025-07-16 14:28:55 +08:00