mirror of
https://github.com/strapi/strapi.git
synced 2025-09-18 04:47:27 +00:00
parent
47c05c5baf
commit
e1b7c8b67c
@ -42,6 +42,7 @@ const InputUID = ({
|
|||||||
contentTypeUID,
|
contentTypeUID,
|
||||||
description,
|
description,
|
||||||
error: inputError,
|
error: inputError,
|
||||||
|
label: inputLabel,
|
||||||
name,
|
name,
|
||||||
onChange,
|
onChange,
|
||||||
validations,
|
validations,
|
||||||
@ -217,7 +218,7 @@ const InputUID = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Wrapper ref={wrapperRef}>
|
<Wrapper ref={wrapperRef}>
|
||||||
<Name htmlFor={name}>{name}</Name>
|
<Name htmlFor={name}>{inputLabel}</Name>
|
||||||
<InputContainer>
|
<InputContainer>
|
||||||
<Input
|
<Input
|
||||||
{...inputProps}
|
{...inputProps}
|
||||||
@ -291,6 +292,7 @@ InputUID.propTypes = {
|
|||||||
description: PropTypes.string,
|
description: PropTypes.string,
|
||||||
editable: PropTypes.bool,
|
editable: PropTypes.bool,
|
||||||
error: PropTypes.string,
|
error: PropTypes.string,
|
||||||
|
label: PropTypes.string.isRequired,
|
||||||
name: PropTypes.string.isRequired,
|
name: PropTypes.string.isRequired,
|
||||||
onChange: PropTypes.func.isRequired,
|
onChange: PropTypes.func.isRequired,
|
||||||
validations: PropTypes.object,
|
validations: PropTypes.object,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user