Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Checkboxes to default false when no default set #195

Closed
acrosman opened this issue Apr 13, 2023 · 1 comment · Fixed by #197
Closed

Set Checkboxes to default false when no default set #195

acrosman opened this issue Apr 13, 2023 · 1 comment · Fixed by #197
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@acrosman
Copy link
Owner

Summary
For boolean fields, when no default is set in Salesforce, default field to null

Please describe the problem you are trying to solve.
Salesforce does not allow pushing Null to checkbox fields. Since this is meant to support migrations, we want to make sure data in fields can be sent by default to any writable field.

Proposed Solution
Add a default to checkbox fields to set them false if no default is provided in the describe.

@acrosman acrosman added enhancement New feature or request good first issue Good for newcomers labels Apr 13, 2023
@AnshulKahar2729
Copy link

@acrosman that can be easily done by javascript. Assign me the issue so that I can resolve it and make a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants