NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.7k stars 2.86k forks source link

change select default value from blank to text #151

Closed MrAbdelaziz closed 3 years ago

MrAbdelaziz commented 3 years ago

Hi! default select option as blank (causes an error),

if you choose a (blank) option or you didn't select an option for the first time, you will not be able to change or select another value. for that, I created a variable named (Val) to handle this error!

wonderful library!

simonsarris commented 3 years ago

Thank you. We did not anticipate users not setting a default option. We release on github all at once, so we will fix this internally first (in extensions, extensionsTS, and extensionsJSM).

simonsarris commented 3 years ago

Actually, it seems like some users may wish to really have the empty string as the default option, so we will probably opt to keep this as it is.