[CLOSED] All combobox are required after migrating from v1.6

Page 1 of 2 12 LastLast
  1. #1

    [CLOSED] All combobox are required after migrating from v1.6

    Hi,

    Like in Title what's changed and maked that happend?

    In v1.6 I've simply asign Truncate property to false but now there is no such a property any longer.

    Is it renamed or deleted? How can I handle this?
    Last edited by Daniil; Oct 09, 2012 at 10:32 AM. Reason: [CLOSED]
  2. #2
    Hi @ViDom,

    Please use the EnforceMaxLength property now.
    http://docs.sencha.com/ext-js/4-1/#!...forceMaxLength

    Thank you for the question. We will add a respective CHANGELOG item.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi @ViDom,

    Please use the EnforceMaxLength property now.
    http://docs.sencha.com/ext-js/4-1/#!...forceMaxLength

    Thank you for the question. We will add a respective CHANGELOG item.
    I'm glad too help improve framework by testing it in extremly crazy situation/solution ;)

    There is information that default value is false so it's shouldn't be required field or maybe I'm wrong?
  4. #4
    Hi,

    False means that it will allow to type more than MaxLength and a validation error will be shown. If you need this behavior, then yes, you can omit this property.

    If you need a behavior when it doesn't allow to type more that MaxLength, then you should explicitly set EnforceMaxLength to true.
  5. #5
    Quote Originally Posted by Daniil View Post
    Hi,

    False means that it will allow to type more than MaxLength and a validation error will be shown. If you need this behavior, then yes, you can omit this property.

    If you need a behavior when it doesn't allow to type more that MaxLength, then you should explicitly set EnforceMaxLength to true.
    but what about situation when I don't want make any restriction about length and don't show validation error?
    Is there such a thing provide that kind functionality?
  6. #6
    Then, I think, you should not set MaxLength.
  7. #7
    Quote Originally Posted by Daniil View Post
    Then, I think, you should not set MaxLength.
    thing is I don't set MaxLenght at all and all the time I've got red border inside comboboxes even when it's shouldn't be that way.
  8. #8
    Please clarify what error does it show?
  9. #9
    Quote Originally Posted by Daniil View Post
    Please clarify what error does it show?
    This field is required in tooltip at combobox.

    I've decide to revert all changes from v2.0 to v1.6 it's too many issues to resolved with migrating a big system where a lot of stuff maked for dynamically create.
  10. #10
    This error is produced by this setting.
    AllowBlank="false"
    If you don't need this error, you should remove this setting.
Page 1 of 2 12 LastLast

Similar Threads

  1. [CLOSED] Migrating from v1.5 to 2.0.1 differences.
    By ViDom in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Sep 27, 2012, 1:47 PM
  2. [CLOSED] Migrating a MVC App from v1 to v2
    By RCN in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 10, 2012, 7:05 PM
  3. [CLOSED] Migrating to Coolite 1.0
    By pattake in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 31, 2011, 4:11 PM
  4. [CLOSED] Migrating from Coolite to Ext.Net
    By daneel in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 19, 2011, 11:44 AM
  5. [CLOSED] problem migrating from 06 to 07
    By Lex in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 05, 2009, 3:57 PM

Tags for this Thread

Posting Permissions