SAST Config UI Page - Basic SAST Wide Settings - Implement dynamic form container control component
This issue tracks the creation of the dynamic form container component that drives the MVC design.
This container component will create instances child form components, based on the type
of the configuration entity it's iterating over.
Implementation plan
-
Implement dynamic form component - !38162 (merged)
- Main prop will be an array of objects representing SAST configuration entities. Each of these will be rendered by child components according to the
type
of the entity (for this iteration, onlystring
needs to be considered). - Implementation will be similar to the
DynamicForm
component implemented described here. -
v-model
bindings:{ prop: 'entities', event: 'input' }
. - Event payload is modified copy of entities model.
Event payload will likely be something close to what is currently being discussed in #220579 (comment 384633951), though this issue isn't blocked by that discussion; i.e., a larger data structure which includes all configuration entities' current values.
Edited by Mark Florian