woocommerce/plugins/woocommerce-blocks/assets/js/settings/shared
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 Mini Cart block: Add label for tax when it should be visible in accordance with WC settings (https://github.com/woocommerce/woocommerce-blocks/pull/5184) 2021-12-03 10:45:06 +01:00
default-constants.ts Extensibility: Format currency config so it can be consumed more easily (#48727) 2024-07-12 14:24:22 +01:00
default-fields.ts Add validation to select fields and add placeholder option to additional fields API (#49929) 2024-07-26 16:38:44 +00:00
index.ts Introduce Additional Fields extensibility API (#42695) 2023-12-15 13:45:38 +01:00
settings-init.ts Convert product-elements/price to TypeScript (https://github.com/woocommerce/woocommerce-blocks/pull/7683) 2022-12-23 22:30:10 +07:00
utils.ts Extensibility: Format currency config so it can be consumed more easily (#48727) 2024-07-12 14:24:22 +01:00