cal/packages/features/form-builder/propsTypes.ts
Hariom Balhara f1c981fdcf
feat: firstAndLastName variant for name field (#8671)
* Add split full name variant

* Share propsType across fieldTypes and components

* Simplify Components

* Add assertions for required field indicator

* Fix test as name cant be used as a custom field right now

* Make it disabled during reschedule

* Fix UI issues in dark mode

* Support adding links in boolean checkbox

* Revert "Support adding links in boolean checkbox"

This reverts commit 31252f8a5f.

* Make sure getBookingFields isnt import client side

* PR feedback addressed from Carina

* DRY Code

* Fix Dialog

---------

Co-authored-by: Carina Wollendorfer <30310907+CarinaWolli@users.noreply.github.com>
2023-07-20 07:03:50 +02:00

17 lines
347 B
TypeScript

export const propsTypes = {
name: "variants",
email: "text",
phone: "text",
address: "text",
text: "text",
number: "text",
textarea: "text",
select: "select",
multiselect: "multiselect",
multiemail: "textList",
radioInput: "objectiveWithInput",
checkbox: "multiselect",
radio: "select",
boolean: "boolean",
} as const;