Merge pull request #1962 from automatisch/missing-power-input-label

fix: bring back the label for PowerInput
This commit is contained in:
Ali BARIN
2024-07-12 12:38:54 +02:00
committed by GitHub
2 changed files with 2 additions and 5 deletions

View File

@@ -57,9 +57,7 @@ Item.propTypes = {
const renderItemFactory =
({ onOptionClick }) =>
(props) => {
<Item onOptionClick={onOptionClick} {...props} />;
};
(props) => <Item onOptionClick={onOptionClick} {...props} />;
const Options = (props) => {
const formatMessage = useFormatMessage();

View File

@@ -132,8 +132,7 @@ function InputCreator(props) {
<React.Fragment>
<PowerInput
key={computedName}
// label={label}
label="PowerInput"
label={label}
description={description}
name={computedName}
required={required}