diff --git a/packages/unleash-frontend-next/src/component/feature/AddFeatureToggleUI.jsx b/packages/unleash-frontend-next/src/component/feature/AddFeatureToggleUI.jsx index 0fc10c51de..88239b25c2 100644 --- a/packages/unleash-frontend-next/src/component/feature/AddFeatureToggleUI.jsx +++ b/packages/unleash-frontend-next/src/component/feature/AddFeatureToggleUI.jsx @@ -13,6 +13,7 @@ class AddFeatureToggleUI extends React.Component { removeStrategy: PropTypes.func.required, onSubmit: PropTypes.func.required, onCancel: PropTypes.func.required, + editmode: PropTypes.bool, }; } @@ -26,6 +27,7 @@ class AddFeatureToggleUI extends React.Component { type="text" label="Name" name="name" + disabled={this.props.editmode} required value={this.props.featureToggle.name} onChange={this.props.updateField.bind(this, 'name')} /> @@ -62,7 +64,7 @@ class AddFeatureToggleUI extends React.Component {
-