Frontmatter
| id | 1830 |
| title | model.Component: getFormatterVariables() => use regex.replace() |
| state | Closed |
| labels | enhancement |
| assignees | [] |
| createdAt | Apr 20, 2021, 2:06 PM |
| updatedAt | Apr 20, 2021, 2:24 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1830 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Apr 20, 2021, 2:24 PM |

follow up ticket for #1829
we need to replace
part.match(dataVariableRegex)withpart.replace(dataVariableRegex, "data$2")to ensure that the vm code can access the data properties.