You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inputs with default set are always considered optional. When running a board with an input that has a default value in Breadboard-Web, if the board input value is removed and empty, is the default then used anyway or would it allow it to be empty? (This is more theoretical, since currently optional inputs need to be filled in Breadboard Web which has been raised as a separate issue Optional inputs require value in bb-web #2500 )
In Breadboard-Web, when the examples is set then the input values default to the first example, rather than being empty. (There is also a separate but related issue to this raised, due to not being able to see or select examples when running the board in bb-web, unless accessing through the schema editor Input examples not displaying as expected in bb-web #2490 )
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Came across some interactions and behaviours between some input properties that felt a bit unexpected.
optional
cannot be set tofalse
.What if we wanted to set this dynamically, such as with a ternary based on a value?default
property cannot be used alongside theoptional
property.Inputs with
default
set are always considered optional. When running a board with an input that has a default value in Breadboard-Web, if the board input value is removed and empty, is the default then used anyway or would it allow it to be empty? (This is more theoretical, since currently optional inputs need to be filled in Breadboard Web which has been raised as a separate issue Optional inputs require value in bb-web #2500 )In Breadboard-Web, when the
examples
is set then the input values default to the first example, rather than being empty. (There is also a separate but related issue to this raised, due to not being able to see or select examples when running the board in bb-web, unless accessing through the schema editor Input examples not displaying as expected in bb-web #2490 )Any thoughts on these?
Beta Was this translation helpful? Give feedback.
All reactions