Topic: MDBTypography Received false for a non-boolean attribute abbr

Wim Olivier free asked 3 years ago


Expected behavior No error should occur

Actual behavior Displays test, but logs error to console.

Resources (screenshots, code snippets etc.)

Warning: Received `false` for a non-boolean attribute `abbr`.

If you want to write it to the DOM, pass a string instead: abbr="false" or abbr
{value.toString()}.

If you used to conditionally omit it with abbr={condition && value}, pass abbr={condition ? value : undefined} instead.
in p (created by n)
in n (at PropertyInfo.js:43)
in td (at PropertyInfo.js:42)
in tr (at PropertyInfo.js:41)
in tbody (created by Qe)

<MDBCard className="text-center">
    <MDBCardHeader color="orange lighten-2">
      <h5>Property Info</h5>
    </MDBCardHeader>
    <MDBCardBody>
      <MDBTable striped bordered responsive>
        <MDBTableBody>
          <tr>
            <td className="pl-0">
              <MDBTypography colorText="blue">Property Name</MDBTypography>
            </td>
            <td>{propertyInfo.propertyName}</td>
            <td className="pl-0">
              <MDBTypography colorText="blue">LPI Code</MDBTypography>
            </td>
            <td>{propertyInfo.LPICode}</td>
          </tr>

Piotr Glejzer staff commented 3 years ago

Thanks for the report. We will fix this warning.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.26.1
  • Device: MacBook Pro
  • Browser: Chrome
  • OS: MacOS
  • Provided sample code: No
  • Provided link: No