Skip to content
#

render-props

Here are 138 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

semmiverian
semmiverian commented Jun 25, 2018

Right know whenever onSubmit is called we only return e event of the form and valid flag to tell whether the validation is succeeded or not.

I think it will be great if we also returning the data that being validated so the user could do something with the data like sending POST request or anything.

good first issue

Improve this page

Add a description, image, and links to the render-props 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 render-props topic, visit your repo's landing page and select "manage topics."

Learn more