Skip to content
#

form-validation

Here are 593 public repositories matching this topic...

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..

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

hyperform
GeoffCapper
GeoffCapper commented Mar 26, 2020

I'm trying to use Hyperform to detect when the form switches between an invalid and valid state so I can switch disabling of the submit button.

If I monitor the "valid" event on the form it keeps getting triggered even though elements within the form are still invalid.

If I run form.checkValidity() on startup each field will indicate an "invalid" event and checkValidity returns false. It see

aamctustwo
aamctustwo commented Dec 15, 2016

Description

Add an easy way to change the iOS Example application to use other localizations. This would be useful for testing. Ideally, the example app itself should also be localized.

Detail

Currently, the easiest way to change the language used is by going into the Info.plist file of the iOS Example and adjusting the Localization native development region (`CFBundleDevelopm

BunnyJS - Lightweight native (vanilla) JavaScript (JS) and ECMAScript 6 (ES6) browser library, package of small stand-alone components without dependencies: FormData, upload, image preview, HTML5 validation, Autocomplete, Dropdown, Calendar, Datepicker, Ajax, Datatable, Pagination, URL, Template engine, Element positioning, smooth scrolling, routing, inversion of control and more. Simple syntax and architecture. Next generation jQuery and front-end framework. Documentation and examples available.

  • Updated May 18, 2019
  • JavaScript
etaque
etaque commented Mar 22, 2017

Looks like basics are good with the package structure now, but we could add a lot of documentation for those scenarios:

  • #54 #65 #89 why using defaultValue over value
  • #84 how to use Form.getOutput
  • #75 validate fields to be equal
  • #82 updating field from another field value
  • #68 how to update multiple elements once
  • #80 select a list using checkboxes
  • #71 adding and removing
stevenjmarsh
stevenjmarsh commented Feb 4, 2020

Thanks for providing Bouncer, a super handy and light package!

One development experience issue I ran into, was trying to preventDefault from the form onsubmit event, and it appeared to have no effect.

I called preventDefault in my onsubmit handler, and was awaiting a fetch response, but the form would always submit, before I could process the response.

Not until I spotted the 'disableSu

r3wt
r3wt commented Nov 25, 2019
<AvField label='Add Link' validate={{
  pattern:{ value: /(^|\s)((https?:\/\/)[\w-]+(\.[\w-]+)+\.?(:\d+)?(\/\S*)?)/gi, errorMessage:'Invalid URL entered' },
  maxLength:{ value: 2048, errorMessage:'URL\'s longer than 2048 characters are not accepted' },
  required: { value: true, errorMessage:'Enter a URL' }
}} />

if omit the gi modifier to the regex, the field works correctly

Improve this page

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

Learn more

You can’t perform that action at this time.