microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

Fixed an issue where the React Form would error when recieving a custom message #183

Closed janechu closed 2 years ago

janechu commented 2 years ago

Pull Request

📖 Description

Custom messages cause the Form to error due to a previous refactor, this has been fixed in this change which should not look at dataDictionary or any other data structures internals unless the message is one known to contain those.

✅ Checklist

General