mirror of
https://github.com/Fabio286/antares.git
synced 2025-02-13 02:00:36 +01:00
fix: unable to set string fields default values starting with 0
This commit is contained in:
parent
8730be02af
commit
3546c57e39
@ -68,7 +68,8 @@
|
|||||||
"x64",
|
"x64",
|
||||||
"armv7l",
|
"armv7l",
|
||||||
"arm64"
|
"arm64"
|
||||||
]
|
],
|
||||||
|
"fpm": ["--deb-no-default-config-files flag"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"target": "AppImage",
|
"target": "AppImage",
|
||||||
|
@ -532,7 +532,10 @@ const editOFF = () => {
|
|||||||
break;
|
break;
|
||||||
case 'custom':
|
case 'custom':
|
||||||
localRow.value.autoIncrement = false;
|
localRow.value.autoIncrement = false;
|
||||||
localRow.value.default = Number.isNaN(+defaultValue.value.custom) ? `'${defaultValue.value.custom}'` : defaultValue.value.custom;
|
if (fieldType.value.group === 'string')
|
||||||
|
localRow.value.default = `'${defaultValue.value.custom}'`;
|
||||||
|
else
|
||||||
|
localRow.value.default = defaultValue.value.custom;
|
||||||
break;
|
break;
|
||||||
case 'expression':
|
case 'expression':
|
||||||
localRow.value.autoIncrement = false;
|
localRow.value.autoIncrement = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user