Skip to content
Commit 12f41ece authored by François Martin's avatar François Martin
Browse files

fix(frontend/forms): support nested array fields in forms

For example, when looking at the `users` array field in `Project`, previously it was possbile to access all properties
which are directly on the `user` object itself, by using `username` as the `fieldName` for example:
```json
const user: User = {
  username: ...
  email: ...
}
```

However, when a property was an object, it would not work, if for example `profile.status` is used as the `fieldName`:
```json
const user: User = {
  username: ...
  email: ...
  profile: {
    status: ...
  }
}
```

This commit changes that, to allow for using nested properties by using a `.` as a separator in the `fieldName`
parent 2881fc3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment