[pbs-devel] [PATCH] textareafield: add emptyText message to show markdown is possible

Gabriel Goller g.goller at proxmox.com
Wed Nov 27 11:27:37 CET 2024


Just like in our `Notes` fields show a emptyText message that explains
that markdown can be used.

Reported-by: Lukas Wagner <l.wagner at proxmox.com>
Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
 src/form/TextAreaField.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/form/TextAreaField.js b/src/form/TextAreaField.js
index 267b40c87d74..ed6015a9ec51 100644
--- a/src/form/TextAreaField.js
+++ b/src/form/TextAreaField.js
@@ -10,6 +10,7 @@ Ext.define('Proxmox.form.field.Base64TextArea', {
         width: 600,
         height: 400,
         scrollable: 'y',
+        emptyText: 'You can use Markdown for richt text formatting.',
     },
 
     setValue: function(value) {
-- 
2.39.5





More information about the pbs-devel mailing list