diff --git a/packages/core/src/components/input/input.tsx b/packages/core/src/components/input/input.tsx index 502c85ad09..75812dcc12 100644 --- a/packages/core/src/components/input/input.tsx +++ b/packages/core/src/components/input/input.tsx @@ -318,14 +318,6 @@ export class Input implements InputComponent { return (this.value !== null && this.value !== undefined && this.value !== ''); } - reduceUndefProps(props: { [ key: string]: any}) { - return Object.keys(props).reduce((final, propName) => { - if (props[propName] != null) { - final[propName] = props[propName]; - } - return final; - }, {} as { [key: string]: any}); - } protected render() { const themedClasses = createThemedClasses(this.mode, this.color, 'text-input'); @@ -334,37 +326,35 @@ export class Input implements InputComponent { return [ ,