redux-form Questions
3
Solved
I'm trying to figure out how to use this.props.dispatch(change) in order use one field selector value to update another fields value within a FieldArray.
https://codesandbox.io/s/2p7k7jn930
I can...
Philina asked 4/4, 2018 at 16:38
26
Solved
I am creating a simple form to upload file using electron-react-boilerplate with redux form & material ui.
The problem is that I do not know how to create input file field because material ui ...
Pahlavi asked 14/11, 2016 at 12:54
3
Solved
I'm using redux forms in react project and this is the app component which has redux forms intialized :
import { Field, reduxForm } from 'redux-form';
const onSubmit = (values) => {
alert(JSO...
Execrate asked 4/6, 2020 at 19:42
10
Solved
I'm using Material-UI v1.0.0-beta23 along with redux-form and redux-form-material-ui. I have a Field that is type number and I want to set the min and max values on the tag. I've tried both inputPr...
Braque asked 13/12, 2017 at 16:37
19
I have one problem in my react code.
I use Material-ui and redux-form. I have select input like and after change this select i should reset value in . I use action 'change' from react-form and set...
Isthmian asked 17/1, 2020 at 16:7
3
I've created a simple contact form which allows users to enter in their name, email and a text message on my website (running using firebase hosting).
When they click submit I want to generate an...
Alger asked 5/6, 2016 at 14:9
4
Solved
I am trying to use a library called redux-form in a Typescript based project. When I take their "simple form" example code and implement it I get an error:
error TS2604: JSX element type 'SimpleFo...
Kries asked 24/1, 2016 at 1:24
2
How to implement a autosave/background-save feature using react-admin?
I want a feature when I am editing a rich input field, such as a rich text, a background saving will push my text to server, w...
Truckage asked 2/7, 2020 at 0:28
6
Solved
I want to stote dates in my state using redux-form. I use react-datepicker. To make the datepicker compatible with my redux-form i write:
import React, { PropTypes } from 'react';
import DatePicke...
Sailfish asked 8/3, 2017 at 8:12
3
I have env var SERVER_URL=localhost:8000
config.js
export const SERVER_URL = process.env.SERVER_URL;
export { SERVER_URL as default };
and action:
function fetchData(apiUrl, timeout) {
retur...
Moniquemonism asked 22/4, 2018 at 16:51
10
Solved
I'm working on a page which has many input validations and logical bindings on it and every sprint iteration the page size increasing. So that, I have to find a beautiful and scalable solution.
Im...
Townsville asked 12/5, 2016 at 14:25
5
import React from 'react';
import ReactDOM from 'react-dom';
import { createStore } from 'redux';
import createHistory from 'history/createBrowserHistory';
import { Provider } from 'react-redux';
i...
Kush asked 7/1, 2019 at 13:52
2
Solved
I have a scenario where there is a list of items and each items have name and value selector side by side(so two inputs). The user selects the name (its radio button) and then selects the value. I ...
Murther asked 15/3, 2018 at 14:35
7
Solved
I am using material-ui v0.20.0 for React js
This is my DatePicker component
<Field
name='appointmentDate'
label="Select Date"
component={this.renderDatePicker}
/>
renderDatePicker = ({...
Laguna asked 26/3, 2018 at 12:32
3
Solved
I am using Redux form for form in React.js and my form was and I have a custom google map component I want to bind lat and long to my form
form
import React from 'react';
import { Field, reduxFo...
Brig asked 5/7, 2018 at 20:11
3
Is there any way to allow Rails strong params to permit different data types? For example, I'm using react-bootstrap-typeahead and redux-form to create a form that allows users to select from provi...
Detta asked 9/4, 2017 at 23:27
5
Solved
I'm aware that if you throw a SubmissionError from your handleSubmit() function, the redux-form code will fill in the errors of the appropriate fields and/or the form itself.
Yet that API of setti...
Wormwood asked 7/2, 2017 at 8:37
7
Solved
Looks like the google recaptcha works in such a way that if a verification attempt has been made with a particular token, it cannot be used again.
Docs states that "you will need to call greca...
Huberman asked 1/10, 2017 at 16:1
2
I am using Redux form v6.5.0 and having a requirement of
Removing the validation for any Field when the disabled props is passed as true.
I wrote a custom logic to disable the validation inside r...
Graff asked 1/3, 2017 at 9:54
2
I am trying use rc-time-picker,but i am getting following error
Please check below error,what i am getting
Align.js:88 Uncaught TypeError:
react__WEBPACK_IMPORTED_MODULE_0___default.a.useRef is...
Dustan asked 6/12, 2019 at 6:46
4
Solved
I've created a redux-form and i want to add className to each Field to customize them with css.
The code for each field is:
<Form onSubmit={handleSubmit(requestAccountsFilter)}>
<FormGro...
Abdominous asked 13/2, 2017 at 9:22
3
Solved
I want to use the reselect with redux-form to get the value from redux. the problem is I don't know how to combine the getFormValues with reselect. it seems that I cannot access the state in the cr...
Solidary asked 6/3, 2018 at 0:3
3
Solved
Hello and have a nice day,
i'm new to react and redux and in my project we are not using statefull components, just stateless with containers. i have a redux form with four fields. When i submit my...
Zoography asked 2/3, 2017 at 9:49
8
I can't get correct value into the store when trying to upload a file. Instead of file content, I get something like { 0: {} }.
Here's the code:
const renderInput = field => (
<div>
<...
Duren asked 26/9, 2016 at 8:45
8
Solved
I'm using redux-form and on blur validation. After I type the first character into an input element, it loses focus and I have to click in it again to continue typing. It only does this with the fi...
Northnortheast asked 3/10, 2016 at 19:31
1 Next >
© 2022 - 2024 — McMap. All rights reserved.