@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterHi Rafa,
Thanks for the code. We will need to add a new property to the form to disable validation when the form is created. That will be available in the next version so you will be able to enable/disable Form’s onload validation.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi Rafa,
They usually are not validated unless the validation is invoked from the API or during the user Input. Example: https://www.htmlelements.com/demos/form/template/
How do you use the Form component?Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/April 2, 2022 at 6:32 am in reply to: Declaring visible: true on `commandColumn` throws error in latest release #103043admin
KeymasterHi Cher Toggy,
Unfortunately, we were unable to reproduce an issue with the reported steps. We have a demo with these settings online https://www.htmlelements.com/demos/grid/editing-command-column/. From the console log I see usage of docking layout and may be there’s something else. Could you share a codepen sample which shows an error on our side?
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi rarcher,
You can see the features in development on our roadmap page is: https://www.htmlelements.com/docs/roadmap/.
When we have a release we publish the release notes which include information about new features, improvements and bug fixes: https://www.htmlelements.com/docs/release-notes/Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterSimply try C6: “2016-06-23T09:07:21-07:00” as a date string.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
Actually, here the issue is different. The data which comes from your data source is String, not a Date object so the format here is ambiguous. From new Date(“01/06/1954”) it will create 6 January 1954. If you pass a Date object instead of String in your data source it will work. In the next version, the dataField will include a formatString property in order to enable deserialization of string dates in the specific formats i.e you will be able to set it like that
` dataSource: new Smart.DataAdapter({
dataSource: [{
“C1”: “1”,
“C2”: “Hot Chocolate”,
“C4””: “SEAVISION”,
“C6”: “01/06/1954”,
“C5”: “true”,
“C3”: “14g”
}],
dataFields:
[{ name: ‘C1’, dataType: ‘number’ },
{ name: ‘C2’, dataType: ‘string’ },
{ name: ‘C4’, dataType: ‘string’ },
{ name: ‘C5’, dataType: ‘bool’ },
{ name: ‘C3’, dataType: ‘string’ },
{ name: ‘C6’, dataType: ‘date’, formatString: ‘dd/MM/yyyy’ }
]
})`Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
locale is a property. If you do not set it, it is not set automatically. The DateInput works with the settings set by the user. Otherwise, it uses default settings.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
Only locale which defaults to ‘en’.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/March 30, 2022 at 7:09 am in reply to: Docked panel/item still gets close button even if disabled #103022admin
KeymasterHi rarcher,
We reproduced this and created a work item. The behavior should be dock/undock should keep the headerButtons setting.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi rarcher,
When you autohide a layout panel with tabs, you can unpin individual tabs which results in creating new owner panels with new ids.
We will add a work item to investigate the reported issue. At present, there is no way around this.Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi alexis,
I think that this part of the code is wrong: this.firstElementChild.selectedValues[0].description. The reason is that there is no description field in the data source, and the other reason is that you may not have a selected value, too. This means that this.firstElementChild.selectedValues[0] is undefined.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
selectedValues expects strings/numbers, not objects. The items of the DropDownList/ComboBox can be strings or objects with label/value fields. The values are always strings or numbers. I would suggest you to look at https://www.htmlelements.com/demos/grid/editing-cascading/. The example shows how to create such an editor.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
We are unable to reproduce it with the latest version. Please, check whether you use the most-recent files and clear your web browser’s cache.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi JoeLaRue,
It is in the Grid API docs. dataSourceSettings>dataFields>map
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi rarcher,
You’re right. We do not have API to insert a new panel which is undocked initially. I will add a work item for that missing API.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/ -
AuthorPosts