Workday/canvas-kit

Main FormField required label logs an error

Closed this issue ยท 0 comments

๐Ÿ› Bug Report

The FormField Label returns an array for children when the field is required. React is complaining because each child in the array doesn't have a unique key.

We should remove the array. We don't need it. This looks like some older code we forgot to clean up in a refactor.

To Reproduce

Steps to reproduce the behavior:

Expected Behavior

A clear and concise description of what you expected to happen.

Actual Results

A clear and concise description of what actually happens

Browser (if applicable)

If this was a visual bug, what browser did you spot it on?

Link to repl or repo (highly encouraged)

Please provide a reference to a repo or branch to help us reproduce this bug.

Error Output

Paste the error output here

or

Include a screenshot of a visual bug