Enhance ObjectProperty component to support size prop for improved layout control

- Added `size` prop to ObjectProperty component for better customization of input elements.
- Updated relevant instances in the component to utilize the new `size` prop, ensuring consistent styling across different usages.
This commit is contained in:
Tom Butcher 2025-12-28 02:09:43 +00:00
parent 210ae5975a
commit 2fd4870d21

View File

@ -61,6 +61,7 @@ const MATERIAL_OPTIONS = [
const ObjectProperty = ({
type = 'text',
prefix,
size,
suffix,
value,
min,
@ -411,6 +412,7 @@ const ObjectProperty = ({
maxWidth={maxWidth}
loading={loading}
rollups={rollups}
size={size}
/>
)
}
@ -798,6 +800,7 @@ const ObjectProperty = ({
objectData={objectData}
isEditing={true}
rollups={rollups}
size={size}
{...inputProps}
/>
)