eduardosuruagy Posted October 7, 2021 Share Posted October 7, 2021 I'm using a TUniSpinEdit and I'd like to block typing if the typed value is greater than that informed in the MaxValue property, the component lets me type a larger value and it turns red, and the user sometimes doesn't see it. I would like to block or show a message if this happens. Thanks!! Link to comment Share on other sites More sharing options...
Sherzod Posted October 8, 2021 Share Posted October 8, 2021 10 hours ago, eduardosuruagy said: I'm using a TUniSpinEdit and I'd like to block typing if the typed value is greater than that informed in the MaxValue property, the component lets me type a larger value and it turns red, and the user sometimes doesn't see it. I would like to block or show a message if this happens. Thanks!! Hello, You can try this JS event: function beforeInit(sender, config) { config.listeners = { validitychange: function(sender, isValid) { if (isValid == false) { // custom logic... } } } } Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now