The Wayback Machine - https://web.archive.org/web/20200523171013/https://github.com/topics/reactstrap
Skip to content
#

reactstrap

Here are 380 public repositories matching this topic...

reactstrap
twgraham
twgraham commented Feb 4, 2020
  • components: Input, CustomInput, CustomFileInput
  • reactstrap version #8.4.1
  • import method es
  • react version #16.12.0
  • bootstrap version #4.3.1

What is happening?

Input's that are invalid (i.e. have the invalid prop set to true), do not have the aria-invalid attribute applied.

What should be happening?

Invalid input's have aria-invalid attribute.

Ste

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

This is the character voting app which is build with a MERN Stack Using Socket.io (MongoDB, Express, React, Node.js, and Socket.IO) In this repository I will build a character voting app for EVE Online - a massively multiplayer online game. You will learn how to build a REST API with Node.js, save and retrieve data from MongoDB, track online visitors in real-time using Socket.IO, build a single-page app experience using React + Redux with server-side rendering and then finally deploy it to the cloud.

  • Updated Mar 14, 2020
  • JavaScript

Improve this page

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

Learn more

You can’t perform that action at this time.