Skip to content
#

forms

Here are 2,290 public repositories matching this topic...

formik
krichter722
krichter722 commented Apr 19, 2020

🚀 Feature request

Current Behavior

The type ErrorMessage doesn't have an id property.

Desired Behavior

It'd be nice id?: string would be added to the type ErrorMessage and set on the outermost component that serves as error message.

Suggested Solution

Add id={this.props.id} to the outer component in ErrorMessage.

Who does this impact? Who is this

ealush
ealush commented Mar 6, 2022

Add singular form of the following:

getErrors() -> getError()
getWarnings() -> getWarning()

The idea is to return the first error/warning of a field, instead of an array.
Unlike getErrors/getWarnings that can either take 0 or 1 arguments, getError/getWarning must receive a field name.

Function signature:

function getError(fieldName: string): string;
function getWarning(fieldNam
good first issue
Leopere
Leopere commented Oct 9, 2019

https://material.io/resources/color/#!/?view.left=1&view.right=0 readability needs to be possible almost universally ideally. This means avoiding all caps strings in titles as screen readers read every letter and other nonsense like this however the first and foremost concern is just simply that we ship with a default that is visible for our sighted users who may have issues with color blindness

enhancement help wanted good first issue hacktoberfest

Improve this page

Add a description, image, and links to the forms topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the forms topic, visit your repo's landing page and select "manage topics."

Learn more