usd remove from the portal

This commit is contained in:
Marshal
2026-08-08 12:39:56 +00:00
parent a05753f4a6
commit 7a84826947
2 changed files with 4 additions and 2 deletions

View File

@@ -561,7 +561,7 @@ const RuleEngineFormDialog = ({
// numbers (@IsInt on points/sizes/order, @IsNumber on money, tons, km),
// so let the field carry decimals and let a 400 catch the rest.
step={isNumber ? "any" : undefined}
disabled={field.disabled || computed !== undefined}
disabled={field.disabled || (field.disabledOnEdit && !!initialRecord) || computed !== undefined}
value={String((computed !== undefined ? computed : values[field.name]) ?? "")}
onChange={(e) => {
const next = e.currentTarget.value;