This is a migrated thread and some comments may be shown as answers.

Allow null values for Currency during Edit mode

1 Answer 159 Views
Grid
This is a migrated thread and some comments may be shown as answers.
jon
Top achievements
Rank 1
jon asked on 27 Jul 2012, 05:43 AM
I am attempting to edit data in pop-up mode.  The issue is with a numeric field that is being validated to have a value, but the model allows for a nullable decimal.  I am also using the EditorTemplate as provided by Telerik for currency values.

The validator says "The field 'X' must be a number".  How can I allow the grid to allow nullable currency values during edit mode.

As a side note, I have noticed with Web UI Grid that you can set nullable on fields as follows:
schema: {
 model: {
   id: "Id",
   fields: {
      ACurrencyField: { editable: true, nullable: true },
            }
        }
     }


1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 27 Jul 2012, 07:49 AM
Hi jon,

This is a known issue which has been already addressed. Thus, you may check the next internal build for the fix.

Greetings,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
jon
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or