Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Housekeeping #73

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Housekeeping #73

wants to merge 9 commits into from

Conversation

tgrrr
Copy link

@tgrrr tgrrr commented Feb 28, 2020

Great idea for a package, so I've just done some chores

…k depreciation warning

Warning: <Field render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Field name="bookingForm.verifyHaveNamesContainer.verifyHaveNames" render={({field, form}) => ...} /> with <Field name="bookingForm.verifyHaveNamesContainer.verifyHaveNames">{({field, form, meta}) => ...}</Field>
Warning: A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed "javascript:void(null)".
    in a (created by Tabs)
    in div (created by Tabs)
    in nav (created by Tabs)
    in div (created by Tabs)
    in div (created by Tabs)
    in div (created by Tabs)
    in div (created by Tabs)
    in Tabs (created by ElementRenderer)
    in ElementRenderer (created by Context.Consumer)
    in Unknown (created by Element)
    in Element
    in Element (created by Context.Consumer)
    in FormikConnect(Object) (created by Form)
    in form (created by Form)
    in Form (created by ElementRenderer)
    in ElementRenderer (created by Context.Consumer)
    in Unknown (created by Element)
    in Element
    in Element (created by Context.Consumer)
    in FormikConnect(Object) (created by FormikForm)
    in FormikForm (created by Formik)
    in Formik (created by ForwardRef)
    in SchemaProvider (created by ForwardRef)
    in ForwardRef (created by ExampleFormContainer)
    in div (created by ExampleFormContainer)
    in ExampleFormContainer (created by Demo)
    in div (created by Demo)
    in div (created by Demo)
    in div (created by Demo)
    in Demo
… Updated to jsonplaceholder and added cors headers
Copy link
Collaborator

@easeq easeq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make the following changes:

  1. Add all babel related packages to devDependencies.
  2. Why have you added jQuery and popper.js? Is it because of bootstrap? Although the HTML used is in bootstrap style, there is no dependency on bootstrap, except for running the examples. So if jQuery and popper are necessary, add them to devDependecies.
  3. Please change the following to a single line format:

In src/Field/Autocomplete.js at line 51-53
From:

const {
    name,
} = config;

To:

const { name } = config;

Everything else looks good. Thanks!

@harveyramer
Copy link
Contributor

When will this be released? I'm concerned about the deprecated render method that is in place, and see that @tgrrr has addressed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants