-
-
Save TatianaMontoya15/e37b704704c0f1fab67e8b2b26806374 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updateKeyValueUsersBanco(e){ | |
const {fields: {responsable}, filterUsersBanco} = this.props; | |
if(e.keyCode == 13 || e.which == 13){ | |
e.preventDefault(); | |
if(responsable.value !== "" && responsable.value !== null && responsable.value !== undefined){ | |
filterUsersBanco(responsable.value).then((data) => { | |
usersBanco = _.get(data, 'payload.data.data'); | |
const selector = $('.ui.search.responsable'); | |
//selector.search('hide results'); | |
selector.search('show results'); | |
selector.blur(); | |
selector.focus(); | |
}, (reason) => { | |
}); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment