electron / electron/electron

Feature: Text Field in MenuItem

Open
#27,062 0 comments 0 reactions 0 assignees View on GitHub
enhancement :sparkles:
Dominant language
C++
Stars
123k
Forks
17.5k
Avg merge
14h 28m
Merged PRs (30d)
870

Description

### Preflight Checklist

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

### Problem Description

I'd like the ability to add a text field to a menu item.

### Proposed Solution

I unfortunately lack the knowledge to propose a solution.

### Alternatives Considered

I did look into the documentation and searched for any alternative solutions, hacks, or workaround but came up empty.

### Additional Information

I've been investigating the limits of the Menu rendering ability of Electron recently, and stumbled across this project, written in Swift https://github.com/p0deje/Maccy. The project uses an `NSTextField` to render a textbox within a menu item. It's quite elegant for that kind of application. And so I did some due diligence on the webs to see if Electron supported anything of the sort. I couldn't find anything similar, so here we are.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.