Merge pull request #1962 from automatisch/missing-power-input-label
fix: bring back the label for PowerInput
This commit is contained in:
@@ -57,9 +57,7 @@ Item.propTypes = {
|
|||||||
|
|
||||||
const renderItemFactory =
|
const renderItemFactory =
|
||||||
({ onOptionClick }) =>
|
({ onOptionClick }) =>
|
||||||
(props) => {
|
(props) => <Item onOptionClick={onOptionClick} {...props} />;
|
||||||
<Item onOptionClick={onOptionClick} {...props} />;
|
|
||||||
};
|
|
||||||
|
|
||||||
const Options = (props) => {
|
const Options = (props) => {
|
||||||
const formatMessage = useFormatMessage();
|
const formatMessage = useFormatMessage();
|
||||||
|
@@ -132,8 +132,7 @@ function InputCreator(props) {
|
|||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<PowerInput
|
<PowerInput
|
||||||
key={computedName}
|
key={computedName}
|
||||||
// label={label}
|
label={label}
|
||||||
label="PowerInput"
|
|
||||||
description={description}
|
description={description}
|
||||||
name={computedName}
|
name={computedName}
|
||||||
required={required}
|
required={required}
|
||||||
|
Reference in New Issue
Block a user