alibaba / alibaba/lowcode-engine
MixedSetter 默认值不生效问题
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
**StringSetter 的初始值在初始化时并不生效 (任意 setter 不仅限于 StringSetter)**
```
{
...,
setter: {
componentName: 'MixedSetter',
props: {
setters: [
{
componentName: 'StringSetter',
initialValue: '初始值',
},
]
}
}
}
```
**预期行为**
上述配置能成功设置初始值
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the MixedSetter configuration shown in the issue and trace how its nested StringSetter, or any setter, handles initialValue during initialization. The fix is done when the configured initial value is applied successfully for MixedSetter and the behavior is verified for setters beyond StringSetter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100