code: func NewGroupedSelectDialogInput(name, label string, options []DialogOptionGroup) *DialogInputSelect {
  	return &DialogInputSelect{
  		DialogInput: DialogInput{
  			Type:  InputTypeSelect,
  			Name:  name,
  			Label: label,
  		},
  		DataSource:   DialogDataSourceStatic,
  		OptionGroups: options}
  }
docs: // NewGroupedSelectDialogInput creates grouped options select input for Dialogs.