⚡️ Email autocomplete input
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
config first commit Nov 10, 2017
public new gif Nov 30, 2017
scripts first commit Nov 10, 2017
src Update EmailAutocompleteInput.js Jan 18, 2018
.gitignore first commit Nov 10, 2017
README.md Update README.md Dec 13, 2017
email-autocomplete-compiled.js updating readme Nov 30, 2017
package-lock.json testing for jsfiddle Nov 11, 2017
package.json updating readme Nov 30, 2017
yarn.lock removing 2 Nov 11, 2017

README.md

Email Autocomplete Input

Bult using mobx, and react

Play with it here!

Installation

yarn add email-autocomplete-input or npm i -S email-autocomplete-input

Usage

import EmailAutocompleteInput from 'email-autocomplete-input'
import { render } from 'react-dom'
import { observable } from 'mobx'

const email = observable('')

render(
  <EmailAutocompleteInput value={email} onChange={value => email.set(value)} />,
  document.body
)

Props

Props Description
validate This will highlight the input with a red, yellow, or green border if the email is valid.
domains This will add additional domains to the autocomplete.