baidu / baidu/amis

在react项目中使用amis当ui,使用公式组件,选择布尔类型,选择就会报错。有解决方法吗?

Open
#8,978 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 实现场景:
选择后不会报错

#### 存在的问题:
选择任意一项都会报错

#### 当前方案:
请粘贴你当前方案的完整 amis schema 代码...
![image](https://github.com/baidu/amis/assets/114373085/eaf73147-a244-4518-8f84-d7fb18eaa3c3)

label="变量值"
name="source"
>

```
code here...
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the provided React usage of FormulaPicker and the dynamic inputSettings formulaType, then reproduce the error when selecting a boolean option. The issue is done when boolean selection no longer errors, but the missing complete amis schema and error details must be clarified first.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.