svelte-forms icon indicating copy to clipboard operation
svelte-forms copied to clipboard

How to handle array data type?

Open sandgupta23 opened this issue 2 years ago • 1 comments

{
  fname: "john",
  lname: "doe"
  interest_id: [1,2,3,4,5,6]
}

field can only be used for primitive data (fname and lname) but is there anything to handle array data (interest_id)

sandgupta23 avatar Nov 01 '22 20:11 sandgupta23

Is this not the general use case form inputs, they are strings only afaik

dlamon1 avatar Jan 02 '23 00:01 dlamon1