ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

Added 2 zeros in Raddataform's decimal editor #1535

Closed teddysasmita closed 3 years ago

teddysasmita commented 3 years ago

Dear sirs,

  1. Platform: Android. Device Input Language: Bahasa Indonesia
  2. nativescript-ui-dataform version 7.0.6,
  3. nativescript-cli version 8.0.2
  4. @nativescript/core version 8.0.8
  5. @nativescript/android version 8.0.0
  6. Set your devices input language into Bahasa Indonesia. Open the page with decimal value in Raddataform.

                                            <TKEntityProperty
                        v-tkDataFormProperty
                        name="amount"
                        index="0"
                        :displayName="'Amount"
                    >
                        <TKPropertyEditor
                            v-tkEntityPropertyEditor
                            type="Decimal"
                        ></TKPropertyEditor>
                    </TKEntityProperty>
teddysasmita commented 3 years ago

I am sorry, sir. I have discovered the problems. It was because every floating point field from database will include '.00'. Hence I put parse the above mentioned field with parseFloat. It is solved. Thank you for all your works in Nativescript-ui-dataform.