Jump to content

docker template with long text field, change type to multiline field


Recommended Posts

For some containers, often AI or compute type containers, I often need to specify quite a bit in both post arguments and extra parameters fields.

 

Request is for the html field type be changed to a multi line (textarea), and for the following reasons:

  • easier to see the full command
  • allows use of line continuation for nicer formatting of command in the same way that would be compatible in command line
     

Examples:

 

Current

image.png.708caca6954ab738971b4e058d680de7.png

 

Proposed change to multi line:

image.png.9108a1220784b5e90c8c3088ae1a9230.png

 

Proposed change to multi line, where user can format for better readability

image.png.7c0e5bf0535d6d50767162d346cb68cc.png

(note I've missed the line continuation in this example)

 

The code change on webpage to do this is something like

Current:  <dd><input type="text" name="contPostArgs"></dd>
Proposed: <dd><textarea name="contPostArgs" spellcheck="false" style="resize: both; overflow: auto"></textarea></dd>

 

  • Upvote 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...