Update form example to better format the form return data (https://github.com/woocommerce/woocommerce-admin/pull/3706)
This commit is contained in:
parent
6ed3943281
commit
f5292427d8
|
@ -77,8 +77,11 @@ export default () => (
|
|||
</Button>
|
||||
<br />
|
||||
<br />
|
||||
Values: { JSON.stringify( values ) }<br />
|
||||
Errors: { JSON.stringify( errors ) }<br />
|
||||
<h3>Return data:</h3>
|
||||
<pre>
|
||||
Values: { JSON.stringify( values ) }<br />
|
||||
Errors: { JSON.stringify( errors ) }
|
||||
</pre>
|
||||
</div>
|
||||
) }
|
||||
</Form>
|
||||
|
|
Loading…
Reference in New Issue