Help Shape the Future of Dataiku Join our User Research Program

Can a TEXTAREA for plugin be provided?

thondeboer
Level 2
Can a TEXTAREA for plugin be provided?

Is there a way to change the default SIZE for a TEXTAREA component in a plugin?

The default size is rather small and while it can be manually enlarged, it would be nice to be able to set a different size (width x height).

0 Kudos
2 Replies
fchataigner2
Dataiker
Dataiker

Hi,

the size can't be controlled. Note that you can have a `codeMirrorDialect` field in your parameter definition in the json, to pass one of codemirror's language modes: this'll make the textarea a codemirror editor, whose size might be better for you. 

0 Kudos
thondeboer
Level 2
Author

Tried the codeMirrorDialect and while it does look like it woudl be something useful, since it provides nice syntax coloing etc., the view is a little "off" and was wondering if there are any ways to modify the look and feel...

I added this line to the paramter that is the textarea

...

"codeMirrorDialect":"text/x-sql"

...

But it now looks like the attachement...

Any ideas how to correct this?

 

 

0 Kudos
A banner prompting to get Dataiku DSS