Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SelectOtherItem - Help Needed

    Hi, Everybody,

    How do I Suppress the Default Behavior when Selecting the 'Other' option in the SelectOtherItem (Combo) Form Field., I Would rather display, my Own Dialog, instead of the Default one,

    Please do Suggest, on how to Approach.

    Thank you, In advance

    #2
    Create a widget which extends the SelectOtherItem and override the onChangedHandler to pop up your custom dialog if selected value is "Other". Guess that should do it.

    Again, the selectOtherItem has API to change the look and feel of the dialog incase your requirement is minimal.

    Cheers,
    Hetal

    Comment


      #3
      SelectOtherItem - Default Behavior

      Hi, hgaglani,

      As you have said, I have already tried, overriding addChangeHandler, But in vain, When I Select the 'Other' option , the Control does not come here.

      Even the SelectOtherItem API only provides convenience methods to resize the width and height of the dialog, but not its contents.

      Comment

      Working...
      X