new react-openapi
This commit is contained in:
@@ -27,8 +27,8 @@ export function NumberField({ field, value, onChange, error }: Props) {
|
||||
}
|
||||
}}
|
||||
error={!!error}
|
||||
helperText={error ?? field.description}
|
||||
placeholder={field.description}
|
||||
helperText={error || field.description || undefined}
|
||||
placeholder={field.description || undefined}
|
||||
size="small"
|
||||
disabled={field.readOnly}
|
||||
inputProps={isFloat ? { step: "any" } : undefined}
|
||||
|
||||
Reference in New Issue
Block a user