Dao Posted June 9, 2021 Share Posted June 9, 2021 Hello! It's the 3rd time I get this error: https://imgur.com/2QOpPnk First time, I don't what happened. Second time was this morning, I was only trying to play with alignment properties of my form. Despite reverting the changes, the error was still there. Third time, same scenario. Moreover, the error happens when I click on another form that I wasn't working on. Any ideas where this can come from? It's very annoying because once it's here, I can't manage to revert to a version that works. Thank you! In case image doesn't display, the error says: Config Option: O47 -> items:[O8]<br/> is refering a previous request, <br/> it's not allowed in AJAX request of JS handler. <br/> Use equivalent public Property or Method instead. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 9, 2021 Share Posted June 9, 2021 Hello, Where do you set config? Quote Link to comment Share on other sites More sharing options...
Dao Posted June 9, 2021 Author Share Posted June 9, 2021 Hi, I'm fairly new to unigui and I don't even know what these config options refer to... Where can this config can be accessed? Quote Link to comment Share on other sites More sharing options...
Dao Posted June 9, 2021 Author Share Posted June 9, 2021 Another one of those errors appeared, and after a few manipulations, I suspect it may come from changing width and height in Layout Config -> width: 100%, height: 100% (this is to achieve resizing of screen to 100% but I don't know if it's the right way, as per another I made today) Any opinion? Thank you! Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 9, 2021 Share Posted June 9, 2021 2 hours ago, Dao said: I'm fairly new to unigui and I don't even know what these config options refer to... Where can this config can be accessed? What are you testing, running? Quote Link to comment Share on other sites More sharing options...
Dao Posted June 9, 2021 Author Share Posted June 9, 2021 I'm playing with alignment and layout properties to test how they work and how they render on browser, because I want my app to be responsive (I've posted about this particular issue here http://forums.unigui.com/index.php?/topic/17018-mainform-resizing-to-screen-width-responsiveness/) For this I'm modifying Layout/ Layout Config / Layout Attribs properties of my form and sometimes gets the shown "Config option" error, that's why I think it could be the trigger but I don't know how to prevent it. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 9, 2021 Share Posted June 9, 2021 4 minutes ago, Dao said: I'm playing with alignment and layout properties to test how they work and how they render on browser, because I want my app to be responsive (I've posted about this particular issue here http://forums.unigui.com/index.php?/topic/17018-mainform-resizing-to-screen-width-responsiveness/) For this I'm modifying Layout/ Layout Config / Layout Attribs properties of my form and sometimes gets the shown "Config option" error, that's why I think it could be the trigger but I don't know how to prevent it. This occurs in the demo examples? Quote Link to comment Share on other sites More sharing options...
Dao Posted June 9, 2021 Author Share Posted June 9, 2021 No, it's my own form Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 9, 2021 Share Posted June 9, 2021 Are you using JSInterface.JSConfig somewhere? Quote Link to comment Share on other sites More sharing options...
Dao Posted June 9, 2021 Author Share Posted June 9, 2021 No, I'm really trying to keep it as simple as possible and I'm currently not using any JS, just playing with the Design Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted June 9, 2021 Share Posted June 9, 2021 7 hours ago, Sherzod said: Você está usando JSInterface .JSConfig em algum lugar? i have this a lot on my system, can this cause any problems? TUniSpinEdit(Components[I]).JSInterface.JSConfig('hideTrigger', [True]); TUniSpinEdit(Components[I]).JSInterface.JSConfig('minValue' , [0]); Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 9, 2021 Share Posted June 9, 2021 1 hour ago, eduardosuruagy said: i have this a lot on my system, can this cause any problems? TUniSpinEdit(Components[I]).JSInterface.JSConfig('hideTrigger', [True]); TUniSpinEdit(Components[I]).JSInterface.JSConfig('minValue' , [0]); You can use this code before the component rendered. That means anywhere before OnReady fired. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.