Skip to content

Dynamic Controls - Number validations on the Percentage column is working, but the value in the percentage column is not getting saved. #1592

@NishkalankBezawada

Description

@NishkalankBezawada

Category

[ ] Enhancement

[x] Bug

[ ] Question

Version

Please specify what version of the library you are using: [3.15.0 Beta version]

Expected / Desired Behavior / Question

Entering the value between 1 to 100 into percentage column should save the form.

Observed Behavior

The number validations are working like a charm, but if we are using a percentage column and trying to save the value to that column, it is not saving the values. Below is the screen for the validations

image

Steps to Reproduce

  1. Add field Number and choose as 'Show as percentage'
  2. Use this list in Dynamic form, with New Item, and give the value as 15 and click save

The form will not be saved.

Observations

The properties number field if chosen as 'Shown as percentage', the minimum and maximum values will be retrieved as below,

image

wherein, the properties of number field without choosing 'Show as percentage', the minimum and maximum values will be retrieved as below.

image

And at onSubmitClick, the validation for percentage column is failing due to the minimum and maximum values for the percentage column.

image

Thanks,
Nishkalank Bezawada

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions