question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to populate boolean value to table column

See original GitHub issue

I have issue to populate data with boolean value. I always got warning: Is there a recommended way to display the isSupported field below?

var products = [
   {
      id: 1,
      name: "Name1",
      isSupported: true
   },
  {
     id: 2,
     name: "Name2",
     isSupported: false
   }
 ];   

<BootstrapTable data={products} >
      <TableHeaderColumn isKey={true} dataField="id">ID</TableHeaderColumn>
      <TableHeaderColumn dataField='name'>Name</TableHeaderColumn>
      <TableHeaderColumn dataField='isSupported'>Supported</TableHeaderColumn>
</BootstrapTable>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
sgentilecommented, Aug 9, 2016

FYI I’m having the same issue and had to use a formatter like above to fix it

1reaction
AllenFangcommented, Aug 29, 2016

there’s one thing to notice, on v2.4.4 I move the css files from css to dist folder, remember to update the css path. I apologize for it. BTW, you can also update to v2.5.0, there’s nothing change, just bump the minor version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when trying to add a new boolean column to a table ...
It's because existing rows can't have null values, with the new non-null column. The way to do is to provide a default value....
Read more >
SQL Boolean Not Recognized - Power Platform Community
Solved: Hello, Scenario: SQL Data Source with Boolean data type in one column Gallery displaying SQL table data Using an IF statement to...
Read more >
CREATE TABLE - Amazon Redshift
The data type of a distribution key column can be: BOOLEAN, REAL, DOUBLE PRECISION, SMALLINT, INTEGER, BIGINT, DECIMAL, DATE, TIME, TIMETZ, TIMESTAMP, or ......
Read more >
How to fix Boolean value 'NULL' is not recognized Error while ...
I also tried using DEFAULT in table defination for the Boolean column but the data loading fails with same error. My Table. Create...
Read more >
Solved: Returning a boolean value via Power Query M with d...
I would like a custom column to return a boolean value depending on the data in other ... Error: We cannot convert a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found