mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 11:58:27 +00:00
Dynamically setting the `layoutName` is not compatible with template colocation. Instead, we can give each field type a dedicated component and make `<UserField` a wrapper which renders the correct implementation.