mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 18:56:49 +00:00
Longer max input for fields
This commit is contained in:
parent
286e728c9e
commit
ec1f829a3f
@ -416,9 +416,9 @@ class ApiExplorer extends Loggable {
|
||||
// (However, updating the var here does not seem to update the form field value)
|
||||
// We provide a default value (i.url) and bind the user input to requestUrl. requestURL is available in the function process
|
||||
// text creates a text box and we can capture its input in requestUrl
|
||||
"@request_url_input" #> text(i.url, s => requestUrl = s, "maxlength" -> "255", "size" -> "100", "id" -> s"request_url_input_${i.id}") &
|
||||
"@request_url_input" #> text(i.url, s => requestUrl = s, "maxlength" -> "512", "size" -> "100", "id" -> s"request_url_input_${i.id}") &
|
||||
// Extraction.decompose creates json representation of JObject.
|
||||
"@example_request_body_input" #> text(pretty(render(i.example_request_body)), s => requestBody = s, "maxlength" -> "255", "size" -> "100", "type" -> "text") &
|
||||
"@example_request_body_input" #> text(pretty(render(i.example_request_body)), s => requestBody = s, "maxlength" -> "4096", "size" -> "100", "type" -> "text") &
|
||||
// TODO get this working. requestBody is not populated with textarea value "@request_body_input" #> textarea(pretty(render(i.example_request_body)), s => requestBody = s, "cols" -> "90", "rows" -> "5") &
|
||||
// We're not using the id at the moment
|
||||
"@request_verb_input" #> text(i.verb, s => requestVerb = s, "type" -> "hidden", "id" -> s"request_verb_input_${i.id}") &
|
||||
|
||||
Loading…
Reference in New Issue
Block a user