# Default is not working with oneOf and array in React

**URL:** <https://jsonforms.discourse.group/t/default-is-not-working-with-oneof-and-array-in-react/440>\
**Category:** General\
**Created:** [October 18, 2021, 10:02pm UTC](https://jsonforms.discourse.group/t/default-is-not-working-with-oneof-and-array-in-react/440 "2021-10-18T22:02:34Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [October 19, 2021, 8:23am UTC](https://jsonforms.discourse.group/t/default-is-not-working-with-oneof-and-array-in-react/440/2 "2021-10-19T08:23:34Z")

</div>

Hi @RohitChattopadhyay, for default support you need to hand over a customized AJV instance in which it is enabled, see [this question for more details](https://jsonforms.discourse.group/t/help-with-default-values/31).

At the moment the off-the-shelf renderers always offer the blank option, see [this issue](https://github.com/eclipsesource/jsonforms/issues/1501) for more details.

---

_[View the full topic](https://jsonforms.discourse.group/t/default-is-not-working-with-oneof-and-array-in-react/440)._
