Announcement

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

    Calendar: no name

    If I don't write any event name in http://www.smartclient.com/smartgwt/showcase/#databound_calendar_category , I see "undefined" in the title.

    Is it possible to make this field "required" in the new-event window?

    #2
    You could provide a custom EventDialog that makes the field required.

    However, note that the word "undefined" appearing in an event's title was clearly a bug, and we've addressed it now. The fix will hit nightly builds in the next day or two.

    Comment


      #3
      Note that, in fact, you *can* override attributes on the internal fields, like setting a defaultValue or making the calendar.nameField required:true, by passing an appropriate field to setEventDialogFields()/setEventEditorFields() - attributes passed in this way are applied on top of the defaults for these fields.

      We've just made some changes in this area today, including the first fix we mentioned in this thread, so we suggest waiting until tomorrow's build to test the fixes.

      Comment

      Working...
      X