Skip to content

Pass raw value to redux-form #129

@victorsilent

Description

@victorsilent

Hello, I'm using that lib with material-ui and redux-form, so, actually I've passed the mask to redux-form, but only with mask, I saw that could be handle with ref.mask.getRawValue, so, how can I call that function to redux-form get raw value?

             <Field
                name="documentation.cpf"
                labelText="CPF"
                id="documentation.cpf"
                component={CustomInputRedux}
                InputProps={{
                  inputComponent: other => (
                    <MaskedInput
                      ref={this.cpfRef}
                      {...other}
                      mask={"111.111.111-11"}
                      placeholderChar={"\u2000"}
                    />
                  )
                }}
              />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions