openyida 2026.10.12-beta.2 → 2026.10.12-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -826,9 +826,14 @@ function buildFieldComponent(field) {
826
826
  props.linkage = '';
827
827
 
828
828
  if (componentName === 'RadioField' || componentName === 'CheckboxField') {
829
- props.value = '';
829
+ // Runtime forms consume the field value, not only the option's marker.
830
+ const defaultOption = componentName === 'RadioField'
831
+ ? dataSource.find((option) => option.defaultChecked === true)
832
+ : undefined;
833
+ const defaultValue = defaultOption ? defaultOption.value : '';
834
+ props.value = defaultValue;
830
835
  props.valueType = 'custom';
831
- props.complexValue = { complexType: 'custom', formula: '', value: '' };
836
+ props.complexValue = { complexType: 'custom', formula: '', value: defaultValue };
832
837
  props.variable = '';
833
838
  props.formula = '';
834
839
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openyida",
3
- "version": "2026.10.12-beta.2",
3
+ "version": "2026.10.12-beta.3",
4
4
  "description": "OpenYida CLI - 宜搭低代码 AI 开发工具(安装即用,零配置)",
5
5
  "bin": {
6
6
  "openyida": "bin/yida.js",