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

Runtime field editor doesn't reset validation on field type change #95505

Closed
Dosant opened this issue Mar 26, 2021 · 1 comment · Fixed by #96302
Closed

Runtime field editor doesn't reset validation on field type change #95505

Dosant opened this issue Mar 26, 2021 · 1 comment · Fixed by #96302
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Project:RuntimeFields

Comments

@Dosant
Copy link
Contributor

Dosant commented Mar 26, 2021

Kibana version: master (7.13 wip)

Describe the bug:

Runtime field editor doesn't reset validation on field type change.
Because of this user may need to do additional excessive changes to the form to reset the validation.

Steps to reproduce:

  1. Create a field. Enter name. Type keyword
  2. Set value emit(6);. Key cast error (expected)
  3. Change type to long
  4. Form validation doesn't reset. Users need to change something else to save a valid field.

Expected behavior:

Validation should reset on type change.

Screenshots (if relevant):

Screen Shot 2021-03-26 at 12 55 43

cc @mattkime

@Dosant Dosant added bug Fixes for quality problems that affect the customer experience loe:small Small Level of Effort Feature:Data Views Data Views code and UI - index patterns before 8.0 Team:AppServices impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Project:RuntimeFields labels Mar 26, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Data Views Data Views code and UI - index patterns before 8.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. loe:small Small Level of Effort Project:RuntimeFields
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants