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!!
|
// 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>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user