I have a modal which has an optional boolean parameter.
ErrorModal: {
dismissible?: boolean;
};
When I open the modal openModal('ErrorModal', { dismissible: false} ) and then handle the parameters inside the Modal using const dismissible = getParam('dismissible', true), it returns true even I passed the value false inside.
I have a modal which has an optional boolean parameter.
When I open the modal
openModal('ErrorModal', { dismissible: false} )
and then handle the parameters inside the Modal usingconst dismissible = getParam('dismissible', true)
, it returns true even I passed the value false inside.