Project: datamanagement
Issue DM-5488: Field group updates
After some work we have realized that the following needs to be done to field groups: * Tabs group should have a field group smart wrapper component * field group needs to reinit on id change * remove mixin, use Higher-Order Components instead * support a function for a value, this function will return a value or a promise * hidden fields - init field group with key/value object * Sub-field groups? study only, unless it is easy to implement. * maintain an option to keep unmount field value available * determine if InitValue needs to be passed around * passing fieldState around too much * find reason for react warning every time popup is raised * look at promise code make sure it is working the way we think * if practical, remove all export default FieldGroupConnector.  It is the high order component that replaces the mixin. FieldGroupUtils.js: (~line 33): The field value would be a function on the file upload case. Therefore the upload does not activate until validation. In the upload case the function would return a promise. However, It could return a value or an object with a value and a valid status. Now the value key of a field can contain a promise or function or primitive. The function can return a primitive, a promise, or an object with primitive and status. fftools.js lines 102-158 you can see my experimenting with taking out the connector. It works fine and does eliminate one of the warning messages.
Story points: 8