Skip to content
#

forms

Here are 1,406 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

temp3l
temp3l commented Dec 25, 2019

reproduce:

  • try a schema without "properties" keyword in the playground
  • and a initial-formData of type object ...

=> make sure the formData is a string to have it fixed

Warning: Failed prop type: Invalid prop `value` supplied to `TextWidget`.
    in TextWidget
    in Unknown (created by StringField)
    in StringField (created by SchemaField)
    in div (created by WrapI
react-final-form
quicksnap
quicksnap commented Apr 9, 2020

Hey Erik! How's it been?

Are you submitting a bug report or a feature request?

Feature

What is the current behavior?

No mention of withTypes in the documentation.

What is the expected behavior?

༼ つ ◕_◕ ༽つ

I just found out about this from a co-worker and am not even sure yet what it exactly was! Excited to see..

AlexHedley
AlexHedley commented Sep 13, 2017

I've added a required flag against some rows

row.required = true;

If I clear the TextField with x button, still have focus on the control, then run the Validate method that row doesn't get checked.
If I lose focus then validate again it shakes and changes colour.

My Row is a XLFormRowDescriptorTypeFloatLabeledTextField

I can't replicate it in the following Example: [ValidationExam

final-form
ismay
ismay commented Jul 31, 2019

Are you submitting a bug report or a feature request?

Neither, reporting missing documentation

What is the current behavior?

Detailed documentation on the signature of mutator functions is missing.

What is the expected behavior?

I'd expect the docs on mutators to be more elaborate on both the definition and the usage of mutators. I've looked at the docs for react

cdalexndr
cdalexndr commented Mar 19, 2020

Documentation examples for jquery doesn't apply to typescript usage because the typescript typings survey.jquery.d.ts don't extend jquery to provide required methods.
$("#surveyContainer").Survey(...

Some typescript usage examples would be helpful for developers using typescript instead of javascript.

jayshepherd
jayshepherd commented Apr 9, 2020

I am attempting to wrap a NumberPicker in a functional component that updates state when onChange fires.

When I click on the up or down arrow of the picker, it begins to flicker as if it's in a refersh/rerender loop. I've reduced the code to the following that replicates the error for me.

I'm using React 16.13.1, react-widgets 4.5.0, react-widgets-simple-number 4.1.24

keyserfaty
keyserfaty commented Feb 9, 2019

The Problem

It would be easier to know how to test for form with jest if there were examples.

I spent some time last week trying to set everything up on my own codebase so I'll be happy to add testing to the examples in the repo if you are interested.

macrozone
macrozone commented Nov 11, 2019

If you just want to replace one field (e.g. replace the ListField with a custom one for all schemas), you need to reimplement the whole AutoField.

It would probably easier, if you could pass a getFieldComponent to a AutoForm, which would hook into here: https://github.com/vazco/uniforms/blob/master/packages/uniforms-material/src/AutoField.tsx#L24 and would take props and could return a Comp

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

You can’t perform that action at this time.