-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use Utility function in InputLiteral component to determine the boolean values from JSON strings #737
Conversation
Waiting for #738 to be merged |
@jgreben In which situations would the props have null formData? |
145a523
to
6f44bd4
Compare
6f44bd4
to
dd8cd25
Compare
@@ -118,13 +119,13 @@ export class InputLiteral extends Component { | |||
this.inputLiteralRef.current.focus() | |||
} | |||
|
|||
/** | |||
* @return {bool} true if the field should be marked as required (e.g. not all obligations met) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
say default is false? or is that obvious?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's pretty clear from how it's documented that if it doesn't meet that condition it's false.
PR #738 Fixed #736. This PR is now only about using the Utility function to determine the boolean values from JSON strings.