mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 12:50:43 +00:00
Merged feature/disable-show-default-vs-display-value into dev
This commit is contained in:
@ -267,7 +267,13 @@ class ValueUtils
|
|||||||
{
|
{
|
||||||
if (!displayValue && field.defaultValue)
|
if (!displayValue && field.defaultValue)
|
||||||
{
|
{
|
||||||
displayValue = field.defaultValue;
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// note, at one point in time, we used a field's default value here if no displayValue... but that feels 100% wrong, //
|
||||||
|
// e.g., a null field would show up (on a query or view screen) has having some value! //
|
||||||
|
// not sure if this was maybe supposed to be displayValue = rawValue, but, keep that in mind, and keep this block here //
|
||||||
|
// in case we run into issues and need to revisit/rethink //
|
||||||
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// displayValue = field.defaultValue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (field.type === QFieldType.DATE_TIME)
|
if (field.type === QFieldType.DATE_TIME)
|
||||||
|
Reference in New Issue
Block a user