rjsf-bulma - v5.0.0-beta.5
- IconButton
- createIsSmallUiSchema
- useBaseInputTemplate
- useCheckboxWidget
- useCheckboxesWidget
- useFileWidget
- useRadioWidget
- useSelectWidget
- useTextareaWidget
Renames and re-exports Form
Ƭ FileInfoType: Object
Name | Type |
---|---|
dataURL? |
string | null |
name |
string |
size |
number |
type |
string |
• Const
Form: ComponentType
<FormProps
>
• Templates: Object
Name | Type |
---|---|
ArrayFieldItemTemplate |
FC <ArrayFieldTemplateItemType <any , any >> |
ArrayFieldTemplate |
FC <ArrayFieldTemplateProps <any , any >> |
BaseInputTemplate |
FC <WidgetProps <any , any >> |
ButtonTemplates |
{ AddButton : FC <IconButtonProps <any , any >> ; MoveDownButton : FC <IconButtonProps <any , any >> ; MoveUpButton : FC <IconButtonProps <any , any >> ; RemoveButton : FC <IconButtonProps <any , any >> ; SubmitButton : FC <SubmitButtonProps <any , any >> } |
ButtonTemplates.AddButton |
FC <IconButtonProps <any , any >> |
ButtonTemplates.MoveDownButton |
FC <IconButtonProps <any , any >> |
ButtonTemplates.MoveUpButton |
FC <IconButtonProps <any , any >> |
ButtonTemplates.RemoveButton |
FC <IconButtonProps <any , any >> |
ButtonTemplates.SubmitButton |
FC <SubmitButtonProps <any , any >> |
DescriptionFieldTemplate |
FC <DescriptionFieldProps <any , any >> |
ErrorListTemplate |
FC <ErrorListProps <any , any >> |
FieldErrorTemplate |
FC <FieldErrorProps <any , any >> |
FieldHelpTemplate |
FC <FieldHelpProps <any , any >> |
FieldTemplate |
FC <FieldTemplateProps <any , any >> |
FilesInfoTemplate |
FC <FilesInfoTemplateProps > |
ObjectFieldTemplate |
FC <ObjectFieldTemplateProps <any , any >> |
TitleFieldTemplate |
FC <TitleFieldProps <any , any >> |
WrapIfAdditionalTemplate |
FC <WrapIfAdditionalTemplateProps <any , any >> |
• Const
Theme: ThemeProps
• Widgets: Object
Name | Type |
---|---|
CheckboxWidget |
FC <WidgetProps <any , any >> |
CheckboxesWidget |
FC <WidgetProps <any , any >> |
FileWidget |
FC <WidgetProps <any , any >> |
RadioWidget |
FC <WidgetProps <any , any >> |
RangeWidget |
FC <WidgetProps <any , any >> |
SelectWidget |
FC <WidgetProps <any , any >> |
TextareaWidget |
FC <WidgetProps <any , any >> |
▸ IconButton(props
, context?
): null
| ReactElement
<any
, any
>
Name | Type |
---|---|
props |
IconButtonProps <any , any > |
context? |
any |
null
| ReactElement
<any
, any
>
▸ createIsSmallUiSchema(uiSchema?
): UiSchema
Name | Type |
---|---|
uiSchema |
UiSchema <any , any > |
UiSchema
▸ useBaseInputTemplate(props
): Object
Name | Type |
---|---|
props |
WidgetProps <any , any > |
Object
Name | Type |
---|---|
hasErrors |
boolean |
inputProps |
{} |
onBlur |
(__namedParameters : FocusEvent <HTMLInputElement , Element >) => void |
onChange |
(__namedParameters : ChangeEvent <HTMLInputElement >) => void |
onFocus |
(__namedParameters : FocusEvent <HTMLInputElement , Element >) => void |
value |
any |
▸ useCheckboxWidget(props
): Object
Name | Type |
---|---|
props |
WidgetProps <any , any > |
Object
Name | Type |
---|---|
onBlur |
(__namedParameters : FocusEvent <HTMLInputElement , Element >) => void |
onChange |
(__namedParameters : ChangeEvent <HTMLInputElement >) => void |
onFocus |
(__namedParameters : FocusEvent <HTMLInputElement , Element >) => void |
value |
any |
▸ useCheckboxesWidget(props
): Object
Name | Type |
---|---|
props |
WidgetProps <any , any > |
Object
Name | Type |
---|---|
enumOptions |
EnumOptionsType [] |
getCheckboxProps |
(option : EnumOptionsType ) => { checked : boolean ; disabled : boolean ; onBlur : (__namedParameters : FocusEvent <HTMLInputElement , Element >) => void = handleBlur; onChange : (__namedParameters : ChangeEvent <HTMLInputElement >) => void ; onFocus : (__namedParameters : FocusEvent <HTMLInputElement , Element >) => void = handleFocus } |
▸ useFileWidget<T
, F
>(__namedParameters
): UseFileWidgetReturn
Name |
---|
T |
F |
Name | Type |
---|---|
__namedParameters |
WidgetProps <T , F > |
▸ useRadioWidget(props
): Object
Name | Type |
---|---|
props |
WidgetProps <any , any > |
Object
Name | Type |
---|---|
enumOptions |
EnumOptionsType [] |
isChecked |
(v : any ) => boolean |
isDisabled |
(v : any ) => boolean |
onBlur |
(__namedParameters : FocusEvent <HTMLInputElement , Element >) => void |
onChange |
(__namedParameters : ChangeEvent <HTMLInputElement >) => void |
onFocus |
(__namedParameters : FocusEvent <HTMLInputElement , Element >) => void |
▸ useSelectWidget(props
): Object
Name | Type |
---|---|
props |
WidgetProps <any , any > |
Object
Name | Type |
---|---|
enumOptions |
EnumOptionsType [] |
hasErrors |
boolean |
isDisabled |
(value : any ) => boolean |
onBlur |
(event : FocusEvent <HTMLSelectElement , Element >) => void |
onChange |
(event : ChangeEvent <HTMLSelectElement >) => void |
onFocus |
(event : FocusEvent <HTMLSelectElement , Element >) => void |
value |
any |
▸ useTextareaWidget(props
): Object
Name | Type |
---|---|
props |
WidgetProps <any , any > |
Object
Name | Type |
---|---|
hasErrors |
boolean |
onBlur |
(__namedParameters : FocusEvent <HTMLTextAreaElement , Element >) => void |
onChange |
(__namedParameters : ChangeEvent <HTMLTextAreaElement >) => void |
onFocus |
(__namedParameters : FocusEvent <HTMLTextAreaElement , Element >) => void |
value |
any |