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