mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 05:14:59 +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.