Declined
Last Updated: 05 Jul 2022 13:41 by ADMIN
Connor
Created on: 28 Jun 2022 15:34
Category: Kendo UI for Angular
Type: Feature Request
0
Scheduler Recurrence editor numeric input fields, zeros default to ones

The Scheduler recurrence editor numeric inputs automatically change leading 0 inputs via keydown or pasting to 1's or empty values. 

 

Extend the ability to disable the mandatory autocorrection for all recurrence editor inputs so any numeric value can be entered.

 

 

Attached Files:
1 comment
ADMIN
Martin Bechev
Posted on: 05 Jul 2022 13:41

Hi Connor,

Thank you for the provided feedback.

The auto-correction of the Repeat every field could be disabled, by setting the autoCorrect option of the repeatEveryOptions property to false:

<kendo-recurrence-editor [formControl]="formGroup.get('recurrenceRule')" 
                        [repeatEveryOptions]="{autoCorrect: false, format:'n0'}">
</kendo-recurrence-editor>

Here is an example where 08 could be entered without automatically switching the numbers.

https://stackblitz.com/edit/angular-d1g2ht?file=src%2Fapp%2Fapp.component.ts

However, it is expected behavior to change the value without the leading zero once the input is blurred since 08 is not a valid number for the field. 

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.