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