Frontmatter
| id | 2655 |
| title | form.field.Select: Add the ability to pass a record id (keyProperty) as the value |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jul 25, 2021, 3:08 PM |
| updatedAt | Jul 25, 2021, 3:09 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2655 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jul 25, 2021, 3:09 PM |
this requires two changes:
beforeSetValue()needs to convert a recordId intorecord[this.displayField]if needed.the change event needs to pass record ids, in case there is a match.