Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Why are the...rest properties not included ininput #10

Open
@ackvf

Description

@ackvf

One does not simply do this as usually:

<Field name="xTest" required type="number" render={({input}) => (  return <input {...input}/>)/>

It is now necessary to also pass({input, ...rest}) to<input {...input} {...rest}/>, but careful, there also is themeta object!, so we must first consume it even though we don't need it.({input, meta, ...rest})

image

I believe that it would make better sense to include all input props insideinput property. If not, can you please shed some light on it and perhaps better documented in the example here?https://github.com/final-form/react-final-form-html5-validation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp