SoftUI.formTypes.date(disabled),
disabled
boolean
required

Indicate if the date should be shown as disabled

Data required for getActualSet function

Object, your date object.

Data returned

Object | or null.

Example Usage

{
    optionId: "join_data",
    optionName: "Join Date",
    optionDescription: "At what time do you want me to join?",
    optionType: SoftUI.formTypes.date(false),
    getActualSet: ({guild}) => {
      return timestamps[guild.id];
    },
    setNew: ({guild,newData}) => {
      timestamps[guild.id] = newData;
      return;
    },
},

Image