diff --git a/packages/react-core/src/demos/PasswordStrength.md b/packages/react-core/src/demos/PasswordStrength.md index 2f2df005508..676ff33a34b 100644 --- a/packages/react-core/src/demos/PasswordStrength.md +++ b/packages/react-core/src/demos/PasswordStrength.md @@ -41,7 +41,7 @@ class PasswordStrengthDemo extends React.Component { passStrength: { variant: 'error', icon: , text: 'Weak' } }; - this.handlePasswordInput = (password) => { + this.handlePasswordInput = (_event, password) => { this.setState({ password }); this.validate(password); }; diff --git a/packages/react-core/src/demos/PrimaryDetail.md b/packages/react-core/src/demos/PrimaryDetail.md index 05655ff489a..cbb98f188bc 100644 --- a/packages/react-core/src/demos/PrimaryDetail.md +++ b/packages/react-core/src/demos/PrimaryDetail.md @@ -118,7 +118,7 @@ class PrimaryDetailFullPage extends React.Component { { value: 'High', disabled: false } ]; - this.onInputChange = (newValue) => { + this.onInputChange = (_event, newValue) => { this.setState({ inputValue: newValue }); }; @@ -585,7 +585,7 @@ class PrimaryDetailContentPadding extends React.Component { { value: 'High', disabled: false } ]; - this.onInputChange = (newValue) => { + this.onInputChange = (_event, newValue) => { this.setState({ inputValue: newValue }); }; @@ -2061,7 +2061,7 @@ class PrimaryDetailInlineModifier extends React.Component { { value: 'High', disabled: false } ]; - this.onInputChange = (newValue) => { + this.onInputChange = (_event, newValue) => { this.setState({ inputValue: newValue }); }; diff --git a/packages/react-core/src/demos/SearchInput/SearchInput.md b/packages/react-core/src/demos/SearchInput/SearchInput.md index 0037f01d9c1..210e6b49a0a 100644 --- a/packages/react-core/src/demos/SearchInput/SearchInput.md +++ b/packages/react-core/src/demos/SearchInput/SearchInput.md @@ -467,7 +467,7 @@ AdvancedComposableSearchInput = () => { type="text" id="has-words" value={hasWords} - onChange={(value) => { + onChange={(_event, value) => { setHasWords(value); setValue(value); }}