diff --git a/web/pgadmin/static/js/components/CodeMirror.jsx b/web/pgadmin/static/js/components/CodeMirror.jsx index 9632c3ee458..cb79c64c800 100644 --- a/web/pgadmin/static/js/components/CodeMirror.jsx +++ b/web/pgadmin/static/js/components/CodeMirror.jsx @@ -259,6 +259,10 @@ export function FindDialog({editor, show, replace, onClose, selFindVal}) { inputRef={(ele)=>{findInputRef.current = ele;}} onChange={(value)=>setFindVal(value)} onKeyPress={onFindEnter} + placeholder={gettext('Find text')} + controlProps={{ + title: gettext('Find text') + }} endAdornment={ } size="xs" noBorder @@ -273,6 +277,10 @@ export function FindDialog({editor, show, replace, onClose, selFindVal}) { className={classes.marginTop} onChange={(value)=>setReplaceVal(value)} onKeyPress={onReplaceEnter} + placeholder={gettext('Replace value')} + controlProps={{ + title: gettext('Replace value') + }} />} @@ -554,7 +562,7 @@ export default function CodeMirror({currEditor, name, value, options, events, re > 0 ? editor.current.getSelection() : ''}/> -