Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed length constraints on date and time in date and time picker respectively #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions server/plugin/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,6 @@ func (p *Plugin) handleSetDateTimeDialog(w http.ResponseWriter, r *http.Request)
Placeholder: "YYYY-MM-DD",
HelpText: "Please enter the date in the format YYYY-MM-DD. Example: 2001-11-04",
Optional: false,
MinLength: 10,
MaxLength: 10,
}

time := model.DialogElement{
Expand All @@ -300,8 +298,6 @@ func (p *Plugin) handleSetDateTimeDialog(w http.ResponseWriter, r *http.Request)
Placeholder: "HH:MM",
HelpText: "Please enter the time in 24 hour format as HH:MM. Example: 20:04",
Optional: false,
MinLength: 5,
MaxLength: 5,
}

inputType := fmt.Sprintf("%v", postActionIntegrationRequest.Context[DateTimeDialogType])
Expand Down