Enhancement
The current modern type TimePicker does not provide localization
Reproduction of the problem
https://dojo.telerik.com/aKIHAcIb
Open the TimePicker popup. The action buttons "Now", "Cancel" and "Set" are not translated.
Expected/desired behavior
Those action buttons need to be exposed for translation.
Environment
**Kendo UI version: 2021.3.914
**jQuery version: 1.12.4
**Browser: [all]
When Telerik UI for PHP MultiColumnComboBox is initialized a div element is rendered instead of an input
The element with the widget id is a <div>
Screencast that demonstrates the rendering with UI for PHP and UI for jQuery.
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)
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.
Dear support team
I have an interesting phenomenon. We are using a MultiSelect widget with remote data binding. In theory, the data looks like this:
Key: 099
Value: Test1
Key: 100
Value: Test2
etc.
I can select all values just fine and they are posted to the form on the receiving end. When reloading the form, we pre-populate the selected items, by calling ->setValue() with an Array of strings: 099,100.
However, the generated Javascript code for the multiselect will change that to [99,100]. So the 099 will not get selected when shown.
Is this something I can avoid? Do I need to specify anything special for the Key column (so far I have only specified the name of the field and marked it as an IDcolumn).
Here is the generated javascript code, as you can see, the value is set to 99, but gets passed in the PHP array as '099':
<select id="berufsgruppeMultiSelect[]" name="berufsgruppeMultiSelect[]" style="width:500px;"></select><script>jQuery(function(){jQuery("#berufsgruppeMultiSelect\\[\\]").kendoMultiSelect({"dataSource":{"type":"odata-v4","serverFiltering":true,"serverSorting":true,"serverPaging":true,"transport":{"read":{"url":function(data) {return "http://aiislab1.bsl.ch.almanid.com:8180/iswebservice/OData4Service.svc/Attributes('687')/CTVRecords?lang=en&$select=V_Long&SESSIONID=" + encodeURIComponent(cookieSessionID) + "";},"contentType":"application\/json;odata.metadata=minimal","dataType":"json","type":"GET"},"parameterMap":function(options, type) {
Thank you for your advice.
Yours,
Ronny