Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering a form inside the context menu #175

Open
erikash opened this issue Oct 14, 2024 · 0 comments
Open

Rendering a form inside the context menu #175

erikash opened this issue Oct 14, 2024 · 0 comments

Comments

@erikash
Copy link

erikash commented Oct 14, 2024

Is your feature request related to a problem? Please describe.
I would like to render a form inside the context menu as in:

Ideally it would support "sub-menus" similar to the attached screen recording:

context menu

Describe the solution you'd like
In the docs i only see the following props - none of which seems applicable

**
       * Optional context menu item icon.
       */
      icon?: React.ReactNode;

      /**
       * Optional context menu item icon for the right side of the title.
       * If provided this will overwrite the submenu's ▶ icon
       */
      iconRight?: React.ReactNode;

      /**
       * Optional context menu item title.
       * If not provided, one will be generated automatically by "humanizing" the key.
       * @default humanize(key)
       */
      title?: React.ReactNode;

Any workarounds?
other ideas?

Amazing job on this library and mantine-datatable!

Erik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant