Skip to content

Commit

Permalink
prevend dropdown to fire init message
Browse files Browse the repository at this point in the history
  • Loading branch information
WalchAndreas committed Jun 13, 2022
1 parent 7c4e5a6 commit 6db6f02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
### 5.4.0-prerelease0003
- prevent dropdown to fire init message

### 5.4.0-prerelease0002
- prevent dorpdowns onChange messages (not set be GUI)
- prevent dropdowns onChange messages (not set be GUI)

### 5.4.0-prerelease0001
- Updated Fomantic-UI to 2.8.8
Expand Down
2 changes: 1 addition & 1 deletion src/Aardvark.UI.Primitives/Simple/SimplePrimitives.fs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ module SimplePrimitives =

let initial =
match selection.GetValue() with
| Some v -> sprintf ".dropdown('set selected', '%s');" v
| Some v -> sprintf ".dropdown('set selected', '%s', '', true);" v
| None -> ".dropdown('clear');"


Expand Down

0 comments on commit 6db6f02

Please sign in to comment.