Inside a modal

When working with the event calendar you will usually want to show an add/edit form in a popup rather than render it directly into the page markup. Simply configure the popup and add your form fields to it.

Interested in add/edit screens for events?  Check out this example of a fully functional event form →
Get started with this example

Demo

const [isOpen, setOpen] = React.useState(false);
const [anchor, setAnchor] = React.useState(null);
const onBtnClick = React.useCallback((args) => {
    setAnchor(args.target);
    setOpen(true);
}, []);

<Button onClick={onBtnClick}>Show modal</Button>
<Popup
    display="anchored"
    buttons={['set', 'cancel']}
>
    <div className="mbsc-form-group">
        <Input label="Title" />
        <Textarea label="Description" />
    </div>
    <div className="mbsc-form-group">
        <Switch label="All-day" />
        <Input label="Starts" />
        <Input label="Ends" />
        <SegmentedGroup>
            <SegmentedItem value="busy" defaultChecked={true}>Show as busy</SegmentedItem>
            <SegmentedItem value="free">Show as free</SegmentedItem>
        </SegmentedGroup>
    </div>
</Popup>
                                    

Duplicate Session

You have signed in on a different machine. To keep everything in sync, you have been signed out of this session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.

Duplicate Session

We noticed you are logged in on a different machine and have closed your old session.

If you need to invite team members, manage seats and accounts you can do it from the licenses page.