Skip to content

Commit

Permalink
Merge pull request #2 from speakeasy-api/code_comment
Browse files Browse the repository at this point in the history
feat: add code comment
  • Loading branch information
ryan-timothy-albert authored Jun 17, 2024
2 parents 3f5a364 + 5038f98 commit e8215a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions field_input.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func (i *Input) Suggestions(suggestions []string) *Input {
return i
}

// SetSuggestionCallback sets the suggestion callback function of the input field.
func (i *Input) SetSuggestionCallback(callback func(inputTextVal string) []string) *Input {
i.suggestionCallback = callback
return i
Expand Down

0 comments on commit e8215a6

Please sign in to comment.