diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-01-25 21:58:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 21:58:31 +0100 |
commit | 7acf26e7778f8bb2b62c61904547dec75723c203 (patch) | |
tree | 036948c5d0eb01bf9ae18d612d965ac9c9b89fae /app/javascript/flavours/glitch/components/autosuggest_input.js | |
parent | 368d6fe54f94ad2ecd2a1c1e7e5a2359dc37ad30 (diff) | |
parent | 20934363492db6a33bf89726444c7a41eaa8d854 (diff) |
Merge pull request #2094 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/javascript/flavours/glitch/components/autosuggest_input.js')
-rw-r--r-- | app/javascript/flavours/glitch/components/autosuggest_input.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/components/autosuggest_input.js b/app/javascript/flavours/glitch/components/autosuggest_input.js index b40a2ff35..c7b024652 100644 --- a/app/javascript/flavours/glitch/components/autosuggest_input.js +++ b/app/javascript/flavours/glitch/components/autosuggest_input.js @@ -50,6 +50,7 @@ export default class AutosuggestInput extends ImmutablePureComponent { id: PropTypes.string, searchTokens: PropTypes.arrayOf(PropTypes.string), maxLength: PropTypes.number, + lang: PropTypes.string, }; static defaultProps = { @@ -185,7 +186,7 @@ export default class AutosuggestInput extends ImmutablePureComponent { } render () { - const { value, suggestions, disabled, placeholder, onKeyUp, autoFocus, className, id, maxLength } = this.props; + const { value, suggestions, disabled, placeholder, onKeyUp, autoFocus, className, id, maxLength, lang } = this.props; const { suggestionsHidden } = this.state; return ( @@ -210,6 +211,7 @@ export default class AutosuggestInput extends ImmutablePureComponent { id={id} className={className} maxLength={maxLength} + lang={lang} /> </label> |