Completed
Last Updated: 09 May 2022 16:01 by ADMIN
Release 2022.R2
Created by: Abilio
Comments: 0
Category: MultiColumnComboBox
Type: Bug Report
0

Bug report

When Telerik UI for PHP MultiColumnComboBox is initialized a div element is rendered instead of an input

Reproduction of the problem

  1. Open locally the PHP demos and inspect the MultiColumnComboBox

Current behavior

The element with the widget id is a <div> Screencast that demonstrates the rendering with UI for PHP and UI for jQuery.

Expected/desired behavior

The element with the widget id should be an <input/> as it is in Kendo UI for jQuery and also ComboBox (in both Kendo for jQuery and PHP wrappers)

Environment

  • Kendo UI version: 2022.1.301
  • Browser: [all]
Completed
Last Updated: 29 May 2020 07:47 by ADMIN
Created by: Rick
Comments: 3
Category: MaskedTextBox
Type: Bug Report
2

So i'm trying to use a MaskedTextBox for saving a phone number, but if the string only exists of digits and no other characters in the initial value it will always remove any leading zeros.

This gives me problems for when edit forms where a phone number of 0771234567 is loaded but 771234567 is displayed instead. If someone then clicks save all changes the leading zero is removed. I don't want it just for display either or always put a zero in front because it can also be multiple zeros depending on exit code used e.t.c. (the numbers will be used to call people they are not just for display.)

1.<?php
2.    $Phonenumber = new \Kendo\UI\MaskedTextBox('Phonenumber');
3.    $Phonenumber ->value('0003333');
4. 
5.    echo $Phonenumber ->render();
6.?>

The code above will display '3333' as initial value instead of the desired '0003333', if i use '000test' instead then it works as intended and display '000test'

I don't understand the advantage of always removing leading zeros in this situation, i'd rather do this myself using php if neccesary.

I'm hoping i'm just missing something very simple, no kind of mask seems to help.

The example below will display 3333 as result, where if i would use 000test instead of 0003333 it would show 000test
The example below will display 3333 as result, where if i would use 000test instead of 0003333 it would show 000test