mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 23:57:32 +00:00
chore: support numeric entry field
This commit is contained in:
parent
f0080e37bc
commit
1112791cab
@ -73,7 +73,7 @@ const DynamicZoneComponent = ({
|
||||
|
||||
const mainField = get(modifiedData, [name, index, mainFieldKey]) ?? '';
|
||||
|
||||
const displayedValue = mainFieldKey === 'id' ? '' : mainField.trim();
|
||||
const displayedValue = mainFieldKey === 'id' ? '' : String(mainField).trim();
|
||||
|
||||
const mainValue = displayedValue.length > 0 ? ` - ${displayedValue}` : displayedValue;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user