Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

CPTextField: support autocomplete and spellcheck attributes #571

Closed
tinus-github opened this Issue · 7 comments

4 participants

@tinus-github

It would be nice if CPTextField supported the (non-standard) HTML autocomplete and spellcheck attributes, so one could prevent these behaviors in browsers that allow them to be disabled.

Preventing the autocomplete behavior is useful if you don't want the contents of the field to be added to the autocomplete list, for instance if it is something you'd like to keep private, like a credit card number. Disabling the spellcheck feature is useful if the field contents are not words.

@cappbot
Collaborator

Milestone: 1.0. Labels: #accepted, #needs-patch, AppKit, feature. What's next? This issue needs a volunteer to write and submit code to address it.

@daboe01

IMHO we should disable HTML autocomplete and HTML spellcheck in the fieldeditor unconditionally and globally.
what do you guys think?

@ahankinson

Could we somehow wrap this with a port of the NSSpellChecker class without actually writing a new spell checker? (using the built-in OS/browser spell checker, if available).

@daboe01

i do not think so
1. i am not aware of any API.
2. we would need to retrofit this into the non-native CPTextView
3. drawing the spell errors is beyond our control-> not good for theming

@ahankinson

This one's been resolved for now, I think.

+#fixed

@cappbot
Collaborator

Milestone: 1.0. Labels: #fixed, AppKit, feature. What's next? This issue is considered successfully resolved.

@cappbot cappbot added #fixed and removed #accepted #needs-patch labels
@cappbot cappbot closed this
@cappbot
Collaborator

Milestone: 1.0. Labels: #fixed, AppKit, feature. What's next? This issue is considered successfully resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.