Jump to content

Recommended Posts

Posted

Merhaba, UniComboBox'un MaxLength kısmını çalıştıramadım. 2 olarak ayarlıyorum fakat daha fazla değer girilebiliyor. 1.0.0.1420 sürümünü kullanıyorum ve aşağıdaki gibi ayarlı. Sorun ne olabilir?

        object UniComboBox6: TUniComboBox
          Left = 142
          Top = 17
          Width = 55
          Hint = ''
          MaxLength = 2
          Text = '00'
          Items.Strings = (
            '00'
            '05'
            '10'
            '15'
            '20'
            '25'
            '30'
            '35'
            '40'
            '45'
            '50'
            '55')
          TabOrder = 4
        end
Posted

Hi,

 

This is ExtJS issue I think,

 

Can you try this approach for now?:

function afterrender(sender, eOpts)
{
    sender.inputEl.set({maxlength: 2});
}
  • 7 years later...

Join the conversation

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

Guest
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...