Jump to content

TUniSpinEdit component validation


Recommended Posts

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!!


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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...