A pack of extensions for grommet 2
created:7/7/2021
updated:7/7/2021
loc
8
comments
38%
failed
6
coverage
100%

SelectField

avatar of atanasster
grommet-controls
3.0.2

A Select field with form validation

import { SelectField } from 'grommet-controls';

In Field

Name
Description
Default
IWithFormFieldProps(7 properties)
validation

default validation rules

ValidationType | ValidationType[]
-
name

field name

string
-
label

field label

ReactNode
-
description

field help/description

string
-
controlLabel

if separate - label of the FormField

ReactNode
-
inField

whether the field is in a FormField

boolean
-
children

child component

((props: IFieldProps) => any) & ((...args: any[]) => any)
-
SelectProps(36 properties)

Commits

Date
Author
Commit Message
8/30/2020

atanasster

avatar of atanasster
update eslint and add component-controls
8/27/2019

atanasster

avatar of atanasster
initial commit 2.x alpha
2 commits
package
imports
peer
grommet
^2.15.0
SelectPropsSelect
*
react
^17.0.1
React
*
file
imports
"../WithFormField"
WithFormFieldIWithFormFieldProps

Stories

Main

Validation