I have a requirement to display a list of records with a set of fields that can be re-configured, I was able to come up with this piece of code:
In a bid to simplify the input field implementation, I used lightning:inputField hoping that it would display properly the picklist fields. Adding to the complexity is the fact that those fields are dependent, and while the controlling picklist is showing properly, when it is updated the dependent picklist stays inactive, is not re-rendering and therefore not displaying the proper subset of values related to the controlling picklist.
I looked it up and while there are a few lightning dependent picklist questions out there, I don't think there's something that accounts for the lightning:inputField being inside an interation. Also, I had an idea of doing a re-render but couldn't really figure out if it'll work. The question here is would there be a workaround to re-render or should I just look at dropping inputField and use a different implementation?