You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an array of users. "enabled" field can not be rendered, and console show this error:
warning.js:36 Warning: Failed prop type: Invalid prop children supplied to DataTablesRowColumn, expected a ReactNode.
in DataTablesRowColumn (created by DataTables)
in DataTables..............
@logysis Hi, What are you going to display with "enabled" field? If it is "true" or "false" as string, then you can convert it to string before render or can use custom render function in your column settings.
for example,
I have an array of users. "enabled" field can not be rendered, and console show this error:
warning.js:36 Warning: Failed prop type: Invalid prop
children
supplied toDataTablesRowColumn
, expected a ReactNode.in DataTablesRowColumn (created by DataTables)
in DataTables..............
const Users = [
{
id: newGuid(),
userName: "MasterUser",
userType: UserTypes.MASTER,
timeZone: "",
email: "xxx@xxx.com",
enabled: true,
test: true,
permissions: getUserPermission(UserTypes.MASTER)
}
]
The text was updated successfully, but these errors were encountered: