add pvs filters (via post) to table endpoint; more test coverage, plus maybe report on untested classes in ci

This commit is contained in:
2023-03-08 10:18:42 -06:00
parent 8c767635de
commit 39eea433fb

View File

@ -127,6 +127,12 @@ function QDynamicForm(props: Props): JSX.Element
// possible values!! // possible values!!
if (field.possibleValueProps) if (field.possibleValueProps)
{ {
const otherValuesMap = field.possibleValueProps.otherValues ?? new Map<string, any>();
Object.keys(values).forEach((key) =>
{
otherValuesMap.set(key, values[key]);
})
return ( return (
<Grid item xs={12} sm={6} key={fieldName}> <Grid item xs={12} sm={6} key={fieldName}>
<DynamicSelect <DynamicSelect
@ -139,6 +145,7 @@ function QDynamicForm(props: Props): JSX.Element
initialDisplayValue={field.possibleValueProps.initialDisplayValue} initialDisplayValue={field.possibleValueProps.initialDisplayValue}
bulkEditMode={bulkEditMode} bulkEditMode={bulkEditMode}
bulkEditSwitchChangeHandler={bulkEditSwitchChanged} bulkEditSwitchChangeHandler={bulkEditSwitchChanged}
otherValues={otherValuesMap}
/> />
</Grid> </Grid>
); );