Skip to content

Commit

Permalink
[Numeric uses string values] Internally Pimcore uses string in the Nu…
Browse files Browse the repository at this point in the history
…meric Editable - so we have to cast it - but only in setDefaultValue
  • Loading branch information
mike4git committed Jan 17, 2025
1 parent 2ae67e1 commit ac8c105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EditableDialogBox/EditableItem/NumericItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public function setDefaultValue(int $value): static
protected function getConfig(): array
{
return [
'minValue' => (string) $this->min,
'maxValue' => (string) $this->max,
'minValue' => $this->min,
'maxValue' => $this->max,
];
}
}

0 comments on commit ac8c105

Please sign in to comment.