We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e483bd3 commit fdfcad9Copy full SHA for fdfcad9
src/lib/core/components/Form/Controller/utils.tsx
@@ -239,7 +239,7 @@ export const getFieldInitials = <
239
}
240
241
if (isNil(value)) {
242
- if (!(isNil(spec.defaultValue) || spec.defaultValue === '')) {
+ if (!isNil(spec.defaultValue)) {
243
value = transformArrIn(spec.defaultValue) as DirtyValue;
244
245
// if the spec with type array or object, and this spec has "required === true",
0 commit comments