improvement: added autoHighlight to automplete fields

This commit is contained in:
canove
2020-11-29 13:55:33 -03:00
parent 2beaf2d5e4
commit e91f02cfc2
2 changed files with 2 additions and 0 deletions

View File

@@ -163,6 +163,7 @@ const NewTicketModal = ({ modalOpen, onClose }) => {
loading={loading}
style={{ width: 300 }}
clearOnBlur
autoHighlight
freeSolo
clearOnEscape
getOptionLabel={renderOptionLabel}

View File

@@ -111,6 +111,7 @@ const TransferTicketModal = ({ modalOpen, onClose, ticketid }) => {
options={options}
filterOptions={filterOptions}
freeSolo
autoHighlight
noOptionsText={i18n.t("transferTicketModal.noOptions")}
loading={loading}
renderInput={params => (