Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option: replaceType #510

Closed
kevinchappell opened this issue May 30, 2017 · 1 comment
Closed

Option: replaceType #510

kevinchappell opened this issue May 30, 2017 · 1 comment
Assignees

Comments

@kevinchappell
Copy link
Owner

Description:

replaceType option will enable a developer to replace existing types with a new configuration so they can do things such as:

  • change field icon
  • set default values for inputs and preload options to checkboxes, autocomplete, select etc.
  • set custom label for default type
  • set defaults for class, placeholder and other attributes

Usage

var options = {
  replaceType: {
    text: {
      className: 'text-input-class-name'
    }
  }
};

Expected Behavior

Configurations defined in this option should extend existing default type configurations

@kevinchappell
Copy link
Owner Author

added in 2.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant