CristianPeta Posted September 15, 2020 Share Posted September 15, 2020 UniGUI 1.90.0.1535, Delphi 10.4.1 I need the UniEdit1 value in javascript and MainForm.UniEdit1.getValue returns a strange and not usable value. I tried the demo unit UniClientEventsEditClientEvents where is a UniEdit1.ClientEvents.change() function that does not exists if I place a new TUniEdit component on the form. What is the explanation? It is obsolete and better not to use it? I ask because reading from javascript MainForm.UniEdit1.getValue returns something like this in is not the edit value: "function(){var b=this.callParent(arguments);if(b&&this.uniCase){var a=document.documentElement.lang;if(!a){a=""}if(this.uniCase=="up"&&b.toLocaleUpperCase){b=b.toLocaleUpperCase(a)}else{if(this.uniCase=="low"&&b.toLocaleLowerCase){b=b.toLocaleLowerCase(a)}}}return b}" Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 15, 2020 Share Posted September 15, 2020 10 minutes ago, CristianPeta said: MainForm.UniEdit1.getValue MainForm.UniEdit1.getValue() 1 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.