You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Qwik and I'm trying to get initial value of type array using route loader, but it generate these unnecessary additional fields with dot notation which mess up the validation.
constresponse=awaitfetchData({
requestEvent,
endpoint,});return{dialect_id: response.data.dialect_id// this is array of string,bahasa_indonesia: response.data.bahasa_indonesia,bahasa_lampung: response.data.bahasa_lampung,sentence_lpg: response.data.sentence_lpg,sentence_id: response.data.sentence_id,region_id: response.data.region_id// this is array of number,status: "pending",};
I do not want this behavior. How do I solve this?
The text was updated successfully, but these errors were encountered:
I'm using Qwik and I'm trying to get initial value of type array using route loader, but it generate these unnecessary additional fields with dot notation which mess up the validation.
I do not want this behavior. How do I solve this?
The text was updated successfully, but these errors were encountered: