mirror of
https://github.com/formbricks/formbricks.git
synced 2026-01-28 01:41:46 -06:00
* feat: added a option to set ordering of choices * changed the parameter for random ordering and used Switch instead of Select * added logic for shuffle * added shuffleOption in zod schema and fixed some copy. * run pnpm format * make shuffleOption optional in zod to prevent errors in existing data * made fixes as asked in peer review and ran pnpm format * minor bug fixes * Update env.mjs * fix shuffleArray to not shuffle reference object * update shuffle method --------- Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>