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

createField: Allow to control a fallback value of initialValue #240

Closed
kettanaito opened this issue Apr 4, 2018 · 1 comment
Closed
Assignees
Labels
enhancement Enhances existing functionality.
Projects
Milestone

Comments

@kettanaito
Copy link
Owner

What

I suggest to add an option to createField which would control a fallback value of initialValue (which is registeredValue internally).

Why

The fallback value of registeredValue is a hard-coded empty string at the moment. That causes issues with fields which expect a different data type, rather than string (i.e. datepickers).

How

  1. Add a new option.
  2. Provide it instead of an empty string.
  3. Write respective test(s).
@kettanaito kettanaito added the enhancement Enhances existing functionality. label Apr 4, 2018
@kettanaito kettanaito added this to the 1.x.x milestone Apr 4, 2018
@kettanaito kettanaito self-assigned this Apr 4, 2018
@kettanaito kettanaito added this to In progress in Roadmap Apr 4, 2018
@kettanaito
Copy link
Owner Author

Merged.

Ready to be released in the next minor release version. Closing.

Roadmap automation moved this from In progress to Released Apr 5, 2018
@kettanaito kettanaito moved this from Released to Staging in Roadmap Apr 5, 2018
@kettanaito kettanaito moved this from Staging to Released in Roadmap Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhances existing functionality.
Projects
Roadmap
  
Released
Development

No branches or pull requests

1 participant