question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create InputField, SelectField, and TextAreaField within new form components

See original GitHub issue

Issue Description

To help facilitate the migration of terra-form to multiple form packages and promote accessible form fields, we should provide InputField, NumberField, SelectField, and TextAreaField with the new form components.

These would be available as follows:

import InputField from 'terra-form-input/lib/InputField';
import NumberField from 'terra-form-number/lib/NumberField';
import SelectField from 'terra-form-select/lib/SelectField';
import TextAreaField from 'terra-form-select/lib/TextAreaField';

Issue Type

  • New Feature
  • Enhancement
  • Bug
  • Other

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mjhenkescommented, Apr 16, 2018

+1 on tech design. Yes I think SelectField would be a wrapper around the new multi-select component.

0reactions
PaulSolDevcommented, May 4, 2018

JIRA created

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fields — WTForms Documentation (2.3.x) - Read the Docs
The data on the SelectMultipleField is stored as a list of objects, each of which is checked and coerced from the form input....
Read more >
Chapter 18 Forms and Form Fields - Eloquent JavaScript
Fields created by <input> tags with a type of text or password , as well as textarea tags, share a common interface. Their...
Read more >
Forms - React
An input form element whose value is controlled by React in this way is called a “controlled component”. For example, if we want...
Read more >
HTML Form Elements - W3Schools
This chapter describes all the different HTML form elements. ... The <input> element can be displayed in several ways, depending on the type...
Read more >
Using button to add fields with text and choice in WTForms in ...
First - black - regular html form with html validation - thanks to ... textarea{ margin: 10px} form, input, select, textarea, button, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found