35 Commits

Author SHA1 Message Date
08da920683 chore(angular): update value accessor method 2023-01-23 13:48:12 -05:00
e8fb9e7328 chore(): sync with main 2023-01-23 13:38:16 -05:00
c2e1ad385d chore(many): replace any types and add tech debt tickets (#26293)
Co-authored-by: Liam DeBeasi <liamdebeasi@users.noreply.github.com>
2023-01-06 09:34:55 -06:00
ce2e37b1a1 fix(angular): null values are not converted to falsy value (#26341)
BREAKING CHANGE:

Datetime:

Passing the empty string to the `value` property will now error as it is not a valid ISO-8601 value.

Angular:

`null` values on form components will no longer be converted to the empty string (`''`) or `false`. This impacts `ion-checkbox`, `ion-datetime`, `ion-input`, `ion-radio`, `ion-radio-group`, ion-range`, `ion-searchbar`, `ion-segment`, `ion-select`, `ion-textarea`, and `ion-toggle`.
2022-11-23 13:03:13 -05:00
c149b42d0b Merge remote-tracking branch 'origin/main' into sync-7-11-15-22 2022-11-15 15:40:21 -05:00
e3ef932ae1 chore(many): add tech debt tickets and remove unnecessary todos (#26266) 2022-11-14 14:49:08 -06:00
92d7bd5d7d Merge remote-tracking branch 'origin/main' into sync-feature-10-21 2022-10-21 14:36:30 -04:00
51ab5f67b5 fix(datetime): empty string is treated as no value (#26131)
resolves #26116
2022-10-17 15:01:27 -04:00
b052d3b262 feat(searchbar): ionChange will only emit from user committed changes (#26026) 2022-10-03 15:08:43 -05:00
68bae80a51 feat(textarea): ionChange will only emit from user committed changes (#25953) 2022-09-23 13:26:21 -04:00
8732b7bdb7 feat(input): ionChange will only emit from user committed changes (#25858)
Resolves #20106, #20061
2022-09-12 15:35:43 -04:00
2ddaf7a5a2 chore(angular): use generated proxy declarations (#25728) 2022-08-10 23:12:55 -04:00
eea25d091d fix(angular): item styling when control has value (#24932)
Resolves #23809
2022-04-05 12:44:45 -04:00
273ae2cc08 fix(angular): apply touch, dirty and pristine form control classes (#24558)
Resolves #24483
2022-01-12 14:48:01 -05:00
3451a34ad0 feat(angular): build for angular 12.0 (#23970) 2021-10-15 16:54:59 -04:00
9223abc1f8 fix(angular): resolve issue when not using ngModel on components 2020-06-11 10:43:49 -04:00
e95b481a53 fix(angular): patch FormControl methods to properly sync Ionic form classes (#21429)
Co-authored-by: Mark Levy <MarkChrisLevy@users.noreply.github.com>
2020-06-09 11:54:40 -04:00
4d50064764 fix(segment): only emit ionChange when user releases pointer from screen (#20495)
fixes #20500
fixes #20257
2020-02-18 15:11:28 -05:00
b4d92c6241 fix(ie): classList does not support variadic (#19460) 2019-09-27 13:12:06 +02:00
f94300cbb3 refactor(angular): use arrow functions (#18910) 2019-08-06 14:18:08 +02:00
6bbdb80871 fix(accessor): ngModel conflits with nested inputs (#18976)
fixes #18248
2019-08-06 13:34:54 +02:00
a8455a90ff chore(ssr): fix document.body reference (#18863) 2019-07-23 14:11:09 -05:00
53179c475c fix(inputs): apply ng form classes (#18820) 2019-07-17 17:46:22 +02:00
e059fc8048 perf(angular): skip zone 2019-07-06 19:33:34 +02:00
2b4d7b7be9 fix(angular): apply validation classes properly
* fix(angular): add validation classes to ion-item

* fix(inputs): focus handling

fixes #17171
fixes #16052
fixes #15572
fixes #16452
fixes #17063
2019-01-19 22:56:00 +01:00
585a84f829 chore(angular): strict tslint (#16708) 2018-12-12 17:17:43 +01:00
429e08344a fix(angular): default value of BooleanValueAccessor should be false (#16420) 2018-11-22 15:32:36 +01:00
b645bfd1b7 fix(angular): fix controlValueAccessor for boolean
fixes #16371
2018-11-19 23:32:28 +01:00
359bdcf8ec fix(angular): avoid forEach in classList 2018-11-19 23:32:28 +01:00
34cd1d16d2 fix(angular): cleanup ion-invalid class
fixes #16353
2018-11-17 11:58:51 +01:00
bfbbeca389 perf(angular): remove duplicated code in value-accessor 2018-11-14 13:22:31 +01:00
fab8b604a5 fix(angular): fix ngModel accessor 2018-10-31 19:19:13 +01:00
d5f2e6fdd8 fix(angular): make sure angular form control onChange is fired when needed (#16126)
* Make sure, that angular form's onChange is not fired, when writeValue is called

* Update angular/src/directives/control-value-accessors/select-value-accessor.ts

Co-Authored-By: mmlleevvyy <levy@codeandmore.pl>

* set muteOnChange to false by default
2018-10-30 21:43:37 +01:00
e18f8bfa0e fix(angular): value is updates based in ionChange
fixes #15722
2018-09-25 02:18:29 +02:00
cece447092 fix(angular): module exports 2018-03-30 21:54:46 +02:00