mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 10:52:45 +08:00
89ec7d8b98
A lot of the data of fields is decided at insertion time and is not dynamic afterwards, this commit attempts to solve this problem by making the fk-field-data a component with getters on the all the properties we need. It allows for example to implement a dynamic @disabled without having to pass @disabled everywhere. Generally speaking this solution limits props-drilling. @format has received the same treatment than @disabled. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |