rgreat Posted March 3, 2021 Share Posted March 3, 2021 Without them and with disabled border editor is not visible at all! Quote Link to comment Share on other sites More sharing options...
rgreat Posted March 5, 2021 Author Share Posted March 5, 2021 up Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 5, 2021 Share Posted March 5, 2021 On 3/4/2021 at 12:00 AM, rgreat said: Without them and with disabled border editor is not visible at all! Hello, Do you have a simple testcase!? Quote Link to comment Share on other sites More sharing options...
rgreat Posted March 6, 2021 Author Share Posted March 6, 2021 On 3/5/2021 at 12:21 PM, Sherzod said: Hello, Do you have a simple testcase!? Here: Project1.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6, 2021 Share Posted March 6, 2021 6 minutes ago, rgreat said: Project1.zip 2.78 kB · 0 downloads Try this. MainForm -> Script: $.extend($.inputmask.defaults, { 'clearMaskOnLostFocus': false }); 1 Quote Link to comment Share on other sites More sharing options...
rgreat Posted March 6, 2021 Author Share Posted March 6, 2021 Thank you. Quote Link to comment Share on other sites More sharing options...
rgreat Posted March 6, 2021 Author Share Posted March 6, 2021 2 hours ago, Sherzod said: Try this. MainForm -> Script: $.extend($.inputmask.defaults, { 'clearMaskOnLostFocus': false }); How I can use something like that for one control only? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6, 2021 Share Posted March 6, 2021 1 hour ago, rgreat said: How can use something like that for one control only? I will check. Quote Link to comment Share on other sites More sharing options...
rgreat Posted March 12, 2021 Author Share Posted March 12, 2021 On 3/6/2021 at 5:15 PM, Sherzod said: I will check. No luck? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 12, 2021 Share Posted March 12, 2021 1 hour ago, rgreat said: No luck? procedure TMainForm.UniFormReady(Sender: TObject); begin with PageVerifyEmailCodeEdit do if InputMask.Mask<>'' then JSInterface.JSCode('$("#"+'+ JSName +'.inputEl.id).inputmask("'+ InputMask.Mask +'",{clearMaskOnLostFocus: false});') end; 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.