f7176bbb44
fix(textarea): clearOnEdit clears textarea when user initially types ( #26006 )
2022-10-10 14:20:50 -04:00
68bae80a51
feat(textarea): ionChange will only emit from user committed changes ( #25953 )
2022-09-23 13:26:21 -04:00
6bb9d8a5d7
Merge remote-tracking branch 'origin/main' into 7.0-sync-09-16-22
2022-09-16 15:20:33 -04:00
9451b283e2
fix(input,textarea): data-form-type attribute is assigned to inner input ( #25927 )
...
Resolves #25908
2022-09-13 15:02:22 -04:00
ee3467c9f1
perf(item): remove delegatesFocus patch for iOS 13 ( #25822 )
2022-08-25 12:34:25 -04:00
a9cf2ab870
fix(textarea): textarea with autogrow will size to its contents ( #24205 )
...
Resolves #24793 , #21242
2022-07-27 11:36:48 -04:00
611832b0d5
fix(core): inherit aria attributes on host elements ( #25156 )
...
Resolves #20127
2022-04-21 10:50:56 -04:00
5676bab316
lint(eslint): migrate to eslint and prettier ( #25046 )
2022-04-04 11:12:53 -04:00
19ac2389eb
fix(img): draggable attribute is now inherited to inner img element ( #24781 )
...
Resolves #21325
Co-authored-by: Celilsemi Sam Erkiner <celilsemi@erkiner.com>
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2022-02-21 11:50:57 -05:00
e00c9cbd4c
docs(textarea): available autocapitalize options ( #24574 )
2022-01-13 13:00:33 -05:00
52cd5d0cce
fix(input): ionInput event emits with type of InputEvent ( #24111 )
...
The ionInput event for both ion-input and ion-textarea will emit with a type of InputEvent.
2021-11-08 16:01:38 -05:00
f3ae4319bb
fix(input, select, textarea): change type of placeholder prop to string only ( #23500 )
...
resolves #22976
BREAKING CHANGE: Updated the `placeholder` property on `ion-input`, `ion-textarea`, and `ion-select` to have a type of `string | undefined`.
2021-06-24 10:23:19 -04:00
dc430af906
fix(all): reflect color property as an attribute for vue ( #23345 )
...
resolves #23323
2021-05-21 19:26:53 -04:00
a31fb55bac
fix(datetime, input, textarea): remove aria-labelledby when there is no adjacent ion-label ( #23211 )
...
* fix(datetime, input, textarea): remove aria-labelledby when there is no adjacent ion-label
* Update core/src/components/input/test/a11y/input.spec.ts
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
* Update core/src/components/textarea/test/a11y/textarea.spec.ts
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
* Update core/src/components/datetime/test/a11y/datetime.spec.ts
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
* remove hard-coded label, fix whitespace
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2021-04-20 12:34:32 -04:00
abad12fbdb
fix(input): title attribute is automatically inherited ( #22493 )
...
resolves #22055
2020-11-13 12:15:33 -05:00
27191026ef
docs(): add note on form bindings with debounce ( #22409 )
2020-11-02 09:26:42 -05:00
99f2532ee1
fix(input): only focus the first input / textarea when clicking on the parent item ( #22049 )
...
fixes #22037 resolves #22032
2020-09-14 11:44:37 -04:00
c72c7ffa98
fix(textarea): do not generate duplicate IDs between ion-input and ion-textarea ( #22074 )
...
resolves #21542
2020-09-11 16:38:00 -04:00
753fd2f910
chore(colorClass): update createColorClasses() for ts4 ( #21896 )
...
Change the createColorClasses() fn so the returned type and jsx class property work well with typescript 4
2020-08-10 09:18:41 -05:00
a625c837a6
feat(input, textarea): expose native events for ionBlur and ionFocus ( #21777 )
...
resolves #17363
2020-07-17 17:43:17 -04:00
88f23b1626
fix(textarea): add aria-labelledby to native textarea ( #21606 )
...
resolves #21600
2020-06-23 16:29:41 -04:00
cf3035778c
chore(stencil): update to v1.14 ( #21458 )
2020-06-10 11:36:02 -04:00
1ea5ce5839
chore(stencil): update to latest stencil version ( #21378 )
...
references ionic-team/ionic-docs#1343
2020-05-26 15:05:36 -04:00
32ee040e3f
fix(textarea): height is set correctly when using autoGrow in modals ( #20971 )
...
fixes #18993
2020-04-24 13:54:51 -04:00
1622d9bb3c
feat(textarea): add support for inputmode and enterkeyhint ( #21106 )
2020-04-24 11:56:10 -04:00
e2cba41e32
fix(): scroll assists now recognizes inputs on inner pages and modals ( #20864 )
...
fixes #20843
2020-03-25 11:45:56 -04:00
2796e9453f
fix(textarea): properly adjust auto-grow textarea in scrolled content ( #19776 )
...
fixes #19193
2020-03-24 11:48:57 -04:00
9e9f72a87f
docs(): fix occurred typo ( #19916 )
...
* docs(searchbar): typo ocurred / occurred
* docs(textarea): occurred typo
* docs(input): occurred typo
* docs(regenerate): occurred typo fix
2019-11-18 09:20:21 -05:00
48a27636c7
fix(all): component reusage ( #18963 )
...
Use new stencil APIs to allow ionic elements to be reused once removed from the DOM.
fixes #18843
fixes #17344
fixes #16453
fixes #15879
fixes #15788
fixes #15484
fixes #17890
fixes #16364
2019-08-27 16:29:37 +02:00
26e6d6f115
fix(textarea): autogrow ( #18822 )
...
fixes #18744
2019-07-17 19:23:13 +02:00
34dfc3ce98
refactor(all): updating to newest stencil apis ( #18578 )
...
* chore(): update ionicons
* refactor(all): updating to newest stencil apis
* fix lint issues
* more changes
* moreee
* fix treeshaking
* fix config
* fix checkbox
* fix stuff
* chore(): update ionicons
* fix linting errors
2019-06-23 11:26:42 +02:00
b40f7d36d5
fix(): update to Stencil One 🎉 🎊
2019-06-19 21:33:50 +02:00
cc8678ad58
feat(textarea): add option to expand textarea as value changes ( #16916 )
...
* feat(textarea): add autoGrow - set height to scrollHeight
* change 1px to inherit, remove additional 4px
2019-05-07 16:52:24 -04:00
3cdab10aa0
fix(textarea): reposition textarea when keybard appears ( #18098 )
...
fixes #17847
2019-04-24 12:33:22 -04:00
e5c8c10029
fix(components): include mode classes on components for use in shadow ( #17838 )
...
- removes mode-less component classes from the internal CSS, use element instead
- adds mode specific classes `md` or `ios` for styling inside of shadow components
- adds e2e test that verifies mode classes exist on all ionic components, plus checks for specific classes that the components need for internal styling
fixes #17608
2019-04-16 17:28:21 -04:00
494991e9fb
fix(textarea): float label when a value is changed async ( #18024 )
...
emits styles to the parent item on value change so that the item will get the proper class to float the label
fixes #17555 fixes #17559
2019-04-12 13:23:04 -04:00
a90084c077
feat(input): add getInputElement() ( #17183 )
...
expose internal <input> element
fixes #17174
2019-01-21 17:19:40 +01:00
63e0501ae6
fix(input): disable shadow-dom for text inputs ( #17043 )
...
fixes #17020
2019-01-11 16:07:38 +01:00
3d656ac312
docs(all): improve type docs for event
2018-12-28 20:38:24 +01:00
fd79b57748
fix(inputs): fix aria with shadow-dom ( #16329 )
2018-11-16 19:26:55 +01:00
a8be5291bb
fix(label): placeholder + floating label ( #16111 )
...
* fix(label): placeholder + floating label
* fix placeholder type
* update docs
* uodate docs
2018-11-02 22:15:28 +01:00
ecc2c55370
docs(all): possible values are extracted by stencil ( #16190 )
...
* docs(all): possible values are extracted by stencil
* add defaults
* remove all hardcoded defaults
* update stencil
2018-11-02 00:06:40 +01:00
ef6895acbd
fix(inputs): disabled handling ( #16071 )
2018-10-25 22:50:06 +02:00
a72fced6fe
fix(all): docs for all missing props
2018-10-11 16:24:08 -05:00
a999c1f0a9
perf(): prevent unnecesary event listener changes
2018-10-09 16:03:14 -05:00
5560dcd713
fix(all): avoid using focus() since it conflicts with HTMLElement
...
fixes #15810
2018-10-02 17:13:45 +02:00
c49d896e08
refactor(all): using ComponentInterface
2018-09-14 18:47:00 +02:00
c446d1b6d1
fix(hide-when): mode is a reserved property
2018-08-26 22:29:46 +02:00
c66a34ab59
feat(inputs): add focus() method
...
fixes #15266
fixes #15268
2018-08-23 00:51:53 +02:00
5989f15952
fix(textarea): remove autocomplete prop
2018-08-19 19:00:37 +02:00