System:
OS: Windows 10 10.0.22000
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.77)
Internet Explorer: 11.0.22000.120
Describe the issue:
FormDatePicker having JS console error and Stroybook error when errorMessage props is passed in
_Warning: Received true for a non-boolean attribute error.
If you want to write it to the DOM, pass a string instead: error="true" or error={value.toString()}.
in div (created by Datepicker)
in Datepicker (created by FormDatepicker)
in div (created by FormDatepicker)
in FormDatepicker (created by FormExampleDatepicker)
in form (created by Form)
in Form (created by FormExampleDatepicker)
in FormExampleDatepicker
in div (created by SandboxApp)
in KnobProvider (created by SandboxApp)
in div (created by Provider)
in RendererProvider (created by Provider)
in Provider (created by Provider)
in Provider (created by SandboxApp)
in SandboxApp_
Expected behavior:
should be able to pass in the errorMessage props without any errors in Storybook
Environment Information
System: OS: Windows 10 10.0.22000 Browsers: Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.77) Internet Explorer: 11.0.22000.120
Describe the issue:
FormDatePicker having JS console error and Stroybook error when errorMessage props is passed in
_Warning: Received
true
for a non-boolean attributeerror
.If you want to write it to the DOM, pass a string instead: error="true" or error={value.toString()}. in div (created by Datepicker) in Datepicker (created by FormDatepicker) in div (created by FormDatepicker) in FormDatepicker (created by FormExampleDatepicker) in form (created by Form) in Form (created by FormExampleDatepicker) in FormExampleDatepicker in div (created by SandboxApp) in KnobProvider (created by SandboxApp) in div (created by Provider) in RendererProvider (created by Provider) in Provider (created by Provider) in Provider (created by SandboxApp) in SandboxApp_
Expected behavior:
should be able to pass in the errorMessage props without any errors in Storybook
If applicable, please provide a codepen repro:
https://codesandbox.io/s/formdatepicker-with-error-message-forked-dhiogy
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (Yes, No)
Requested priority: Normal
Products/sites affected: Teams - Collaboration Manager