Effect CommunityEC
Effect Community14mo ago
14 replies
Stephen Bluck

HttpServerRequest.schemaBodyUrlParams Lacks Support for Array<string> in Schema

I have noticed that HttpServerRequest.schemaBodyUrlParams does not support Array<string> as part of the schema which is problematic when it comes to multi-select checkboxes or other multi-select HTML elements within html form submissions.

This is how you would get this data using form data if that helps:
const formData = new FormData()
const arrOfStrings = formData.getAll("ids")

Am I missing something?
Was this page helpful?