mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-24 13:44:54 +00:00
Merge pull request #156 from johndoe6345789/codex/extend-delete-action-logic-in-use-action-executor
Support computed and nested selectors for `delete` actions
This commit is contained in:
@@ -154,6 +154,18 @@ Remove an item from an array.
|
||||
}
|
||||
```
|
||||
|
||||
Example with the selector derived from event data:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "remove-clicked",
|
||||
"type": "delete",
|
||||
"target": "todos",
|
||||
"path": "meta.id",
|
||||
"expression": "event.todoId ?? data.selectedId"
|
||||
}
|
||||
```
|
||||
|
||||
## Common Patterns
|
||||
|
||||
### 1. Input Field Updates
|
||||
|
||||
Reference in New Issue
Block a user