[Refacto] Improve SqlInput component to use it in Condition & Filter components
Opened this issue · 0 comments
BPierrick commented
Problem
Data model includes a SqlInput reference for Conditions & Filters. This implies that instead of handling Columns, Conditions & Filters should handle SqlInputs.
Description
We should apply those changes :
- Make Filter & Condition component render an SqlInput component instead of a ColumnSelect component
- Let the SqlInput component handle its column changes/create etc..
- Make the SqlInput UI more flexible regarding its scope :
- Adding an facultative
onDelete
props - Implement a dynamic UI adapting itself when we are in an SqlInput of InputGroup, of Condition or of Filter
- Adding an facultative