mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
CE-551 Fix initialValue for possible values to do validation right
This commit is contained in:
@ -252,7 +252,6 @@ function EntityForm(props: Props): JSX.Element
|
||||
if (results && results.length > 0)
|
||||
{
|
||||
defaultDisplayValues.set(fieldName, results[0].label);
|
||||
initialValues[fieldName] = {id: defaultValue, value: results[0].label}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user