theaha Posted October 16, 2023 Share Posted October 16, 2023 Hi. I have 2 questions and would like to request a solution to the problem. 1. Can i set max date in UnimDatePicker? i need max date is today. 2. In UnimSelect, when my items have a long text, the items doesn't break into a new line and the text appears overlapped. Unigui Complete Professional 1.90.0.1568 Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2023 Share Posted October 16, 2023 Hello, I will check. Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2023 Share Posted October 16, 2023 Hello, 4 hours ago, theaha said: 1. Can i set max date in UnimDatePicker? i need max date is today. Can you try this approach? function beforeInit(sender, config) { config.maxDate = Ext.Date.format(new Date(), config.dateFormat); } Link to comment Share on other sites More sharing options...
Sherzod Posted October 16, 2023 Share Posted October 16, 2023 4 hours ago, theaha said: 2. In UnimSelect, when my items have a long text, the items doesn't break into a new line and the text appears overlapped. How can we reproduce this issue? Link to comment Share on other sites More sharing options...
theaha Posted October 17, 2023 Author Share Posted October 17, 2023 13 hours ago, Sherzod said: Hello, Can you try this approach? function beforeInit(sender, config) { config.maxDate = Ext.Date.format(new Date(), config.dateFormat); } Hi, I try this but it set only max year. 13 hours ago, Sherzod said: How can we reproduce this issue? I add items normally like this UnimSelect1.Items.Add("Test Text"); but when add long text, text appears overlapped Link to comment Share on other sites More sharing options...
Sherzod Posted October 17, 2023 Share Posted October 17, 2023 1 hour ago, theaha said: I try this but it set only max year. Yes, I know, this is by design. But you can't choose a date greater than today... Link to comment Share on other sites More sharing options...
theaha Posted October 17, 2023 Author Share Posted October 17, 2023 20 hours ago, Sherzod said: How can we reproduce this issue? 6 hours ago, theaha said: I add items normally like this UnimSelect1.Items.Add("Test Text"); but when add long text, text appears overlapped then, for this any solution? Link to comment Share on other sites More sharing options...
Sherzod Posted October 17, 2023 Share Posted October 17, 2023 5 hours ago, theaha said: then, for this any solution? I'll try to reproduce it first. Link to comment Share on other sites More sharing options...
theaha Posted October 19, 2023 Author Share Posted October 19, 2023 On 10/17/2023 at 8:28 PM, Sherzod said: I'll try to reproduce it first. have you find the problem? Link to comment Share on other sites More sharing options...
Sherzod Posted October 19, 2023 Share Posted October 19, 2023 5 hours ago, theaha said: have you find the problem? Can you try this approach? CustomCSS -> .x-list-label { display: inline-block; line-height: 100%; } Link to comment Share on other sites More sharing options...
theaha Posted October 19, 2023 Author Share Posted October 19, 2023 2 hours ago, Sherzod said: Can you try this approach? CustomCSS -> .x-list-label { display: inline-block; line-height: 100%; } Work Perfect! Thank. 1 Link to comment Share on other sites More sharing options...
Recommended Posts