mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
Add new argument to qController.possibleValues call
This commit is contained in:
@ -88,7 +88,7 @@ function QFMDBridgeForm({fields, record, handleChange, handleSubmit}: QFMDBridge
|
||||
const value = record.values.get(field.name);
|
||||
if (field.possibleValueSourceName && value)
|
||||
{
|
||||
const possibleValues = await qController.possibleValues(null, null, field.possibleValueSourceName, null, [value], record.values, "form");
|
||||
const possibleValues = await qController.possibleValues(null, null, field.possibleValueSourceName, null, [value], [], record.values, "form");
|
||||
if (possibleValues && possibleValues.length > 0)
|
||||
{
|
||||
record.displayValues.set(field.name, possibleValues[0].label);
|
||||
|
Reference in New Issue
Block a user