primefaces / primefaces/primereact

validator.w3.org shows Error "Attribute pr_id_18 not allowed on element [div]" for DataTable with Multiple Columns

Open
#6,304 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Status: Discussion
Dominant language
CSS
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

For DataTbale "Multiple columns" validator.w3.org shows the following error:

Attribute pr_id_18 not allowed on element div at this point.

Reproducer

No response

PrimeReact version

10.6.2

React version

17.x

Language

TypeScript

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior
  1. Copy the "Multiple Columns" card element of https://primereact.org/datatable/
  2. Paste it into https://validator.w3.org/nu/#textarea
Expected behavior

No errors in the validator output.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the DataTable "Multiple Columns" card on the PrimeReact datatable documentation page and reproduce its rendered markup in validator.w3.org/nu. Trace the source of the pr_id_18 attribute in the generated div and confirm the validator reports no error after the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.