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

Leading zeros get removed if string contains only digits. #5341

Closed
kendo-bot opened this issue Oct 17, 2019 · 1 comment
Closed

Leading zeros get removed if string contains only digits. #5341

kendo-bot opened this issue Oct 17, 2019 · 1 comment

Comments

@kendo-bot
Copy link
Contributor

kendo-bot commented Oct 17, 2019

Bug report

Ticket ID 942229

Current behavior

When passing value with leading zero, the PHP wrapper removes it:

image

Expected behavior

The zero should not be removed.

Reproduction of the problem

$phone_number = new \Kendo\UI\MaskedTextBox('mobile');
$phone_number->value('0991234567')
         ->mask("(000) 000-0000");
              
echo $phone_number->render();
  • result 991234567

Environment

2019.3.917

@gyankov
Copy link

gyankov commented Feb 6, 2020

Duplicate of #5384.

@gyankov gyankov closed this as completed Feb 6, 2020
@dmanova dmanova added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels May 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants