mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
fix(explore): Reset values in TextControl only when datasource changes (#13211)
* Reset values in TextControl only when datasource changes * Fix undefined error
This commit is contained in:
committed by
GitHub
parent
85d1e80544
commit
42ff4fc19a
@@ -247,6 +247,7 @@ export default class SelectControl extends React.PureComponent {
|
||||
isMulti &&
|
||||
optionsRemaining &&
|
||||
Array.isArray(this.state.value) &&
|
||||
Array.isArray(value) &&
|
||||
!!value.length
|
||||
) {
|
||||
assistiveText = optionRemaingText;
|
||||
|
||||
Reference in New Issue
Block a user