It looks like yall are trying to put this function in to the repo so it simplifies for those looking to implement your library. I have come across your library and I am using it for my SaaS platform. Its been good so far pretty straight forward with good enough documentation. How ever I am stuck on shaping the jsonValues in regards to the group-array type so I can get some validation running. Everything else is working fine with validation and errors for my form except for the nested inputs inside my group-arrays. How should I approach this or can you get me a developer preview on what the 'formValuesToJsonValues' function is going to look like that y'all are planning to ship with the library.
Example of Json Values I'm passing to handleValidation:
{ "club_code": "Dallas - Uptown", "team_member_last_name": "d", "team_member_email": "ryan@app.com", "team_member_street_address": "409 St", "team_member_city": "Bville", "team_member_state": "AK", "expense_details": [ { "amount": "32324", "receipt": "<redacted url>" } ] }
The group array expense_details has 5 required fields and the overall form has many required fields and returns back
{ "team_member_first_name": "Required field" }
Which is accurate for the main part of the form its just not validating my group-array.
Any assistance on this would be greatly appreciated. Also happy to provide more details as needed. Thanks.
It looks like yall are trying to put this function in to the repo so it simplifies for those looking to implement your library. I have come across your library and I am using it for my SaaS platform. Its been good so far pretty straight forward with good enough documentation. How ever I am stuck on shaping the jsonValues in regards to the group-array type so I can get some validation running. Everything else is working fine with validation and errors for my form except for the nested inputs inside my group-arrays. How should I approach this or can you get me a developer preview on what the 'formValuesToJsonValues' function is going to look like that y'all are planning to ship with the library.
Example of Json Values I'm passing to handleValidation:
{ "club_code": "Dallas - Uptown", "team_member_last_name": "d", "team_member_email": "ryan@app.com", "team_member_street_address": "409 St", "team_member_city": "Bville", "team_member_state": "AK", "expense_details": [ { "amount": "32324", "receipt": "<redacted url>" } ] }The group array expense_details has 5 required fields and the overall form has many required fields and returns back
{ "team_member_first_name": "Required field" }Which is accurate for the main part of the form its just not validating my group-array.
Any assistance on this would be greatly appreciated. Also happy to provide more details as needed. Thanks.