mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
[ES|QL] Better handling of long fields in the editor (#223222)
## Summary Small change to help with long field names 
This commit is contained in:
parent
e77f54de04
commit
8577ff35fa
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ export const buildFieldsDefinitionsWithMetadata = (
|
|||
getVariables?: () => ESQLControlVariable[] | undefined
|
||||
): SuggestionRawDefinition[] => {
|
||||
const fieldsSuggestions = fields.map((field) => {
|
||||
const titleCaseType = field.type.charAt(0).toUpperCase() + field.type.slice(1);
|
||||
const fieldType = field.type.charAt(0).toUpperCase() + field.type.slice(1);
|
||||
const titleCaseType = `${field.name} (${fieldType})`;
|
||||
return {
|
||||
label: field.name,
|
||||
text:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue