form 里 有个 select ,option 触发 ajax 返回的数据我想映射到form的data里可以让 form 其他标签使用 这个怎么实现呢
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
'change' =>
[
'actions' => [
[
"actionType" => "ajax",
"api" => [
'url' => 'xxxxxxxx',
'method' => 'get',
// todo 映射到外面的data里可以让其他的标签也可以使用
]
],
],
],
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the form schema shown in the issue, especially the change action and its AJAX configuration. Determine how the returned option data could be exposed through the form's data for other controls; the work is done when those controls can consume the mapped response consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100