Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
270 stars 75 forks source link

Input + Text Area: Add native `spellcheck` prop #9148

Open geospatialem opened 2 months ago

geospatialem commented 2 months ago

Check existing issues

Description

Add spellcheck prop to Text Area + Input with a note like this in the doc: https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck#security_and_privacy_concerns

Acceptance Criteria

Relevant Info

Requested via ArcGIS resources feedback:

CalciteInputText is missing the property "spellcheck" from the native input-text HTML component! There are instances when the input component do not have to contain dictionary-words (as peculiar street names) and we do not want weird words to be underlined!

Which Component

Example Use Case

No response

Priority impact

p4 - not time sensitive

Calcite package

Esri team

Calcite (dev)

Horiatu commented 2 months ago

Just a suggestion: name the attribute nospellcheck so the current code will behave the same with new and old version of components without amending every instance in written code!