Skip to content

Conversation

@doneill
Copy link
Collaborator

@doneill doneill commented Dec 10, 2025

Description

Fixes

#30

Proposed Changes

  • Update getSchemaForCheckbox function
    • If not required: default to empty array
    • If required: no default (null is valid)

Testing

  • Run yarn test
    • Verify all tests pass
  • Build and link library in React Native app
# build
npm run build

# link
yarn link

# In React Native client app, e.g. EarthRanger
yarn remove @earthranger/react-native-jsonforms-formatter@2.0.0-beta.14
yarn link @earthranger/react-native-jsonforms-formatter@2.0.0-beta.17

if not required, default to empty array
if required default to null
@doneill
Copy link
Collaborator Author

doneill commented Dec 11, 2025

Closing as library doesn't have access to the field component onChange handlers

@doneill doneill closed this Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants