We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An example of this component will be for restaurants. We need a form that will add an object for restaurant dishes within a restaurant.
If you look at restaurants_fields in the current schema, there is a field for dishes. Dishes is an array of objects that will have this shape:
restaurants_fields
dishes
restaurant_dishes_fields = { name: z.string().min(1, REQUIRED_FIELD), rating: z.string().nonempty().default('5'), description: z .string() .max(1000, 'Description must not exceed 1000 characters.') .nullable() .optional(), notes: z.string().max(1000, 'Notes must not exceed 1000 characters.').nullable().optional() }
We need a repeater that can add dishes objects to the restaurant dishes array. Refer to other SvelteKit projects for examples.
The text was updated successfully, but these errors were encountered:
ubemacapuno
No branches or pull requests
An example of this component will be for restaurants. We need a form that will add an object for restaurant dishes within a restaurant.
If you look at
restaurants_fields
in the current schema, there is a field fordishes
.Dishes is an array of objects that will have this shape:
We need a repeater that can add dishes objects to the restaurant dishes array. Refer to other SvelteKit projects for examples.
The text was updated successfully, but these errors were encountered: