Open wusteven815 opened 3 days ago
Example:
from deephaven import ui
@ui.component
def nullish_calendar():
return ui.flex(
ui.calendar(value=ui.types.Undefined),
ui.calendar(value=None),
)
calendar_test = nullish_calendar()
Undefined
, the calendar can still be edited, while for None
, the calendar can not be edited
Undefined
object for nullable props_nullable_props
passed tocomponent_element
/BaseElement
None
will be translated tonull
andUndefined
will not exist in the props object