diff --git a/src/components/ComponentConfiguration.stories.tsx b/src/components/ComponentConfiguration.stories.tsx index 0d61ea7b..abf97dc7 100644 --- a/src/components/ComponentConfiguration.stories.tsx +++ b/src/components/ComponentConfiguration.stories.tsx @@ -2237,7 +2237,7 @@ export const ProductPrice: Story = { id: 'wqimsadk', type: 'productPrice', key: 'productPrice', - label: 'An productPrice field', + label: 'A productPrice field', product: '123', }, @@ -2254,7 +2254,7 @@ export const ProductPrice: Story = { const canvas = within(canvasElement); const preview = within(canvas.getByTestId('componentPreview')); - await expect(canvas.getByLabelText('Label')).toHaveValue('An productPrice field'); + await expect(canvas.getByLabelText('Label')).toHaveValue('A productPrice field'); await waitFor(async () => { await expect(canvas.getByLabelText('Property Name')).toHaveValue('anProductPriceField'); }); diff --git a/src/registry/productPrice/edit.tsx b/src/registry/productPrice/edit.tsx index 92006d3c..6f3d6bdf 100644 --- a/src/registry/productPrice/edit.tsx +++ b/src/registry/productPrice/edit.tsx @@ -115,7 +115,7 @@ EditForm.defaultValues = { showInPDF: true, hidden: false, clearOnHide: true, - isSensitiveData: true, + isSensitiveData: false, product: '', // Advanced tab conditional: {