Skip to content

Commit

Permalink
Update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Pjiesco committed Oct 7, 2023
1 parent 814b0d6 commit fdcaacf
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,16 @@ private enum Categories {
* State and Event definition example
*/
@State(defaultValue = "1", categoryId = "BaseCategory")
@Event(valueChoices = {"1", "2"}, format = "When customStateWithEvent becomes $val")
@Event(valueChoices = {"1", "2"}, valueType = ValueType.CHOICE, format = "When customStateWithEvent becomes $val")
private String customStateWithEvent;

/**
* State and Event definition example
*/
@State(defaultValue = "1", categoryId = "BaseCategory")
@Event(valueType = ValueType.TEXT, format = "When customStateWithEvent becomes $val")
private String stateWithEventTypeText;

/**
* State of type choice definition example
*/
Expand Down

0 comments on commit fdcaacf

Please sign in to comment.