woocommerce/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout/form
Seghir Nadir 0dcd359b25
Add validation to select fields and add placeholder option to additional fields API (#49929)
* Add validation and empty value to select components

* address feedback

* Add changefile(s) from automation for the following project(s): woocommerce-blocks, woocommerce

* remove console log

* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md

Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>

* Update plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md

Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>

* remove test

* Fix tests

* also move select to parent

* fix tests

* add empty enum to schema

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
2024-07-26 16:38:44 +00:00
..
test [React 18] Use `createRoot().render()` instead of `render()` (#48843) 2024-07-26 09:18:48 +02:00
address-line-2-field.tsx Make the address 2 line visible when a value is autofilled (#49730) 2024-07-23 16:44:20 +01:00
address-line-fields.tsx normalize IDs for form fields in Checkout (#47650) 2024-05-22 22:54:03 +02:00
custom-validation-handler.ts Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
form.tsx Add validation to select fields and add placeholder option to additional fields API (#49929) 2024-07-26 16:38:44 +00:00
index.ts Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
prepare-form-fields.ts Support additional fields in the Contact step for Checkout (#43088) 2024-01-05 18:35:28 +01:00
style.scss Make the address 2 line visible when a value is autofilled (#49730) 2024-07-23 16:44:20 +01:00
types.ts [Accessibility] Convert edit address link to a button (#49471) 2024-07-17 16:54:41 +02:00
utils.ts Add validation to select fields and add placeholder option to additional fields API (#49929) 2024-07-26 16:38:44 +00:00
validate-country.ts Checkout: Add placeholder option to country and state select, add error validation (#49616) 2024-07-24 17:59:15 +02:00
validate-state.ts Checkout: Add placeholder option to country and state select, add error validation (#49616) 2024-07-24 17:59:15 +02:00