Announcement

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

    Is there any way to have type=date as a form field but without day selector?

    I have a form field and it has a date and datepicker attached. But I don't need YYYY-mm-dd format, I only need YYYY-mm.

    Is there any way to exclude days?

    #2
    Hi,

    it‘s an AutoChild, I‘m sure you can hide it.

    Best regards
    Blama

    Comment


      #3
      Blama ,

      What do you mean it's AutoChild? How would I do that?

      Currently it looks like this - https://i.imgur.com/IApoPQX.png

      I want it to look like this (imagine red square is white square) - https://i.imgur.com/z2SH2PA.png

      Comment


        #4
        Ah, I meant AutoChild with 3 Dropdowns. Yours looks like it might be solveable with Display formatting?

        Comment


          #5
          You can use setSelectorFormat(DateItemSelectorFormat.YEAR_MONTH) on your item properties
          See https://www.smartclient.com/smartgwt...torFormat.html

          Regards
          Isomorphic Software

          Comment

          Working...
          X