Skip to content

Commit a8161ee

Browse files
authored
Fix disabled ComboBox style (#456)
1 parent da260e7 commit a8161ee

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

backend/app/Resources/Image/ImageResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public function toArray($request): array
1616
return [
1717
'id' => $this->getId(),
1818
'url' => Url::getCdnUrl($this->getPath()),
19+
'path' => $this->getPath(),
1920
'size' => $this->getSize(),
2021
'file_name' => $this->getFileName(),
2122
'mime_type' => $this->getMimeType(),

frontend/src/components/common/CustomSelect/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ export const CustomSelect = ({
112112
};
113113

114114
return (
115-
<Stack gap={4}>
115+
<Stack
116+
style={{opacity: disabled ? 0.6 : 1}}
117+
gap={4}>
116118
{label && (
117119
<Input.Label required={required}>
118120
{label}

0 commit comments

Comments
 (0)