Add default value for backorders (#36607)

* Add default value for backorders

* Add changelog entry
This commit is contained in:
Joshua T Flowers 2023-01-26 09:20:10 -08:00 committed by GitHub
parent b7fd3d9e76
commit dfe2780e6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -23,8 +23,9 @@ export const ProductForm: React.FC< {
<Form< Partial< Product > >
initialValues={
product || {
reviews_allowed: true,
backorders: 'no',
name: '',
reviews_allowed: true,
sku: '',
stock_quantity: 0,
stock_status: 'instock',

View File

@ -0,0 +1,4 @@
Significance: minor
Type: update
Add default value for backorders