Class: MultiInput

frontend~MultiInput(Must)

A self controlling, auto additonal input controller

Constructor

new MultiInput(Must)

Initializes state
Parameters:
Name Type Description
Must Array.<any> contain an identifier and on change callback
Source:

Extends

  • React.Component

Methods

render()

Renders out a list of inputs with auto + and - buttons for adjusting the amount of inputs. Will automatically control values, and run on change callbacks when any change.
Source: