mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-18 05:10:45 +00:00
add pvs filters (via post) to table endpoint; more test coverage, plus maybe report on untested classes in ci
This commit is contained in:
@ -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>
|
||||
);
|
||||
|
Reference in New Issue
Block a user