[Lens] fix custom time shift input (#176259)

## Summary

Fix https://github.com/elastic/kibana/issues/176181



ba3fb5c1-8990-4006-9d5b-f60752d847ea
This commit is contained in:
Drew Tate 2024-02-06 07:03:29 -07:00 committed by GitHub
parent 1d4ac905c6
commit 086c32e766
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -155,7 +155,7 @@ export function TimeShift({
);
})}
selectedOptions={getSelectedOption()}
singleSelection={{ asPlainText: true }}
singleSelection={{ asPlainText: false }}
isInvalid={isLocalValueInvalid}
onCreateOption={(val) => {
const parsedVal = parseTimeShift(val);