Skip to content

Commit 758fde1

Browse files
author
Alyar
committed
Add placeholder for TextArea
1 parent 62a9032 commit 758fde1

32 files changed

Lines changed: 32 additions & 0 deletions

packages/devextreme/js/__internal/grids/grid_core/ai_column/ai_prompt_editor/ai_prompt_editor.integration.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ describe('AiPromptEditor', () => {
147147
onValueChanged: expect.any(Function),
148148
value: '',
149149
valueChangeEvent: 'input change keyup',
150+
placeholder: 'Prompt AI to generate the column\'s values',
150151
},
151152
]);
152153
});

packages/devextreme/js/__internal/grids/grid_core/ai_column/ai_prompt_editor/ai_prompt_editor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export class AiPromptEditor {
4646
onValueChanged: (e): void => {
4747
this.updateButtonOption(1, 'disabled', !isValueChanged(this.value, e.value)); // Update the disable state of the Apply button
4848
},
49+
placeholder: messageLocalization.format('dxDataGrid-aiPromptEditorPlaceholder'),
4950
valueChangeEvent: 'input change keyup',
5051
...this.options.editorOptions,
5152
};

packages/devextreme/js/localization/messages/ar.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105

106106

107107
"dxDataGrid-aiPromptEditorTitle": "AI Prompt Editor",
108+
"dxDataGrid-aiPromptEditorPlaceholder": "Prompt AI to generate the column's values",
108109
"dxDataGrid-applyButton": "Apply",
109110
"dxDataGrid-emptyHeaderWithColumnChooserText": "Use {0} to display columns",
110111
"dxDataGrid-emptyHeaderWithGroupPanelText": "Drag a column from the group panel here",

packages/devextreme/js/localization/messages/bg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105

106106

107107
"dxDataGrid-aiPromptEditorTitle": "AI Prompt Editor",
108+
"dxDataGrid-aiPromptEditorPlaceholder": "Prompt AI to generate the column's values",
108109
"dxDataGrid-applyButton": "Apply",
109110
"dxDataGrid-emptyHeaderWithColumnChooserText": "Use {0} to display columns",
110111
"dxDataGrid-emptyHeaderWithGroupPanelText": "Drag a column from the group panel here",

packages/devextreme/js/localization/messages/ca.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105

106106

107107
"dxDataGrid-aiPromptEditorTitle": "AI Prompt Editor",
108+
"dxDataGrid-aiPromptEditorPlaceholder": "Prompt AI to generate the column's values",
108109
"dxDataGrid-applyButton": "Apply",
109110
"dxDataGrid-emptyHeaderWithColumnChooserText": "Use {0} to display columns",
110111
"dxDataGrid-emptyHeaderWithGroupPanelText": "Drag a column from the group panel here",

packages/devextreme/js/localization/messages/cs.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105

106106

107107
"dxDataGrid-aiPromptEditorTitle": "AI Prompt Editor",
108+
"dxDataGrid-aiPromptEditorPlaceholder": "Prompt AI to generate the column's values",
108109
"dxDataGrid-applyButton": "Apply",
109110
"dxDataGrid-emptyHeaderWithColumnChooserText": "Use {0} to display columns",
110111
"dxDataGrid-emptyHeaderWithGroupPanelText": "Drag a column from the group panel here",

packages/devextreme/js/localization/messages/da.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105

106106

107107
"dxDataGrid-aiPromptEditorTitle": "AI Prompt Editor",
108+
"dxDataGrid-aiPromptEditorPlaceholder": "Prompt AI to generate the column's values",
108109
"dxDataGrid-applyButton": "Apply",
109110
"dxDataGrid-emptyHeaderWithColumnChooserText": "Brug {0} til at vise kolonner",
110111
"dxDataGrid-emptyHeaderWithGroupPanelText": "Træk en kolonne fra gruppepanelet hertil",

packages/devextreme/js/localization/messages/de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105

106106

107107
"dxDataGrid-aiPromptEditorTitle": "AI Prompt Editor",
108+
"dxDataGrid-aiPromptEditorPlaceholder": "Prompt AI to generate the column's values",
108109
"dxDataGrid-applyButton": "Apply",
109110
"dxDataGrid-emptyHeaderWithColumnChooserText": "Verwenden Sie die {0}, um Spalten anzuzeigen",
110111
"dxDataGrid-emptyHeaderWithGroupPanelText": "Ziehen Sie eine Spalte aus dem Gruppenpanel hierher",

packages/devextreme/js/localization/messages/el.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105

106106

107107
"dxDataGrid-aiPromptEditorTitle": "AI Prompt Editor",
108+
"dxDataGrid-aiPromptEditorPlaceholder": "Prompt AI to generate the column's values",
108109
"dxDataGrid-applyButton": "Apply",
109110
"dxDataGrid-emptyHeaderWithColumnChooserText": "Use {0} to display columns",
110111
"dxDataGrid-emptyHeaderWithGroupPanelText": "Drag a column from the group panel here",

packages/devextreme/js/localization/messages/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105

106106

107107
"dxDataGrid-aiPromptEditorTitle": "AI Prompt Editor",
108+
"dxDataGrid-aiPromptEditorPlaceholder": "Prompt AI to generate the column's values",
108109
"dxDataGrid-applyButton": "Apply",
109110
"dxDataGrid-emptyHeaderWithColumnChooserText": "Use {0} to display columns",
110111
"dxDataGrid-emptyHeaderWithGroupPanelText": "Drag a column from the group panel here",

0 commit comments

Comments
 (0)