canvas-kit icon indicating copy to clipboard operation
canvas-kit copied to clipboard

FormField: Support multiple messages

Open NicholasBoll opened this issue 6 years ago • 5 comments

🚀 Feature Proposal

Design has requested the ability for FormFields to handle more than a single message and more than one type of message.

Motivation

There can be more than a single error or hint for a form field. The screenshot below shows an example.

Example

Screen Shot 2019-09-26 at 9 41 57 AM

NicholasBoll avatar Sep 26 '19 16:09 NicholasBoll

@NicholasBoll Is the screenshot coming from design, can we consider that as spec?

stephanerangaya avatar Oct 07 '19 22:10 stephanerangaya

@stephanerangaya Yes. It can probably be introduced as a non-breaking change by accepting an array of messages and types

NicholasBoll avatar Oct 07 '19 23:10 NicholasBoll

This is no longer a request. We'll re-evaluate if it comes back

NicholasBoll avatar Apr 21 '20 21:04 NicholasBoll

Reopening to look at supporting this across Workday

jpante avatar Jul 20 '20 21:07 jpante

Should check back with design for more up to date specs and development

myvuuu avatar Mar 08 '22 22:03 myvuuu

Not something we are in current need of. Will reopen if this arises again

jaclynjessup avatar Oct 19 '22 19:10 jaclynjessup

Not something we are in current need of. Will reopen if this arises again

jaclynjessup avatar Oct 19 '22 19:10 jaclynjessup

An example with multiple errors

https://codesandbox.io/s/formfield-multiple-errors-9yzxyg

NicholasBoll avatar Jul 07 '23 15:07 NicholasBoll