From c0a86e01aecf4c5c4c3f3a168ee5950519aed69d Mon Sep 17 00:00:00 2001 From: krishna9304 Date: Tue, 22 Mar 2022 11:56:19 +0530 Subject: [PATCH] fix (components/widgets/input): Warning while loading delete user page This reverts commit 2bb18530caec802e05b84bcb1e765dcf5b9840aa. --- src/components/Widgets/Input/index.jsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/components/Widgets/Input/index.jsx b/src/components/Widgets/Input/index.jsx index 3caf9a98b..e1a404435 100644 --- a/src/components/Widgets/Input/index.jsx +++ b/src/components/Widgets/Input/index.jsx @@ -35,7 +35,6 @@ const InputContainer = ({ property, valueProperty, noDataMessage = "No Data Found", - defaultValue = null, }) => { if (type === "radio" || type === "checkbox") { return ( @@ -75,7 +74,6 @@ const InputContainer = ({ multiple={multiple && multiple} size={multiple ? "15" : ""} id={id} - defaultValue={defaultValue} > {options.length > 0 ? ( options.map((option, index) => ( @@ -141,7 +139,6 @@ InputContainer.propTypes = { property: PropTypes.string, valueProperty: PropTypes.string, noDataMessage: PropTypes.string, - defaultValue: PropTypes.string, }; export default InputContainer;