Skip to content

Commit 0edfd0c

Browse files
authored
feat: Align FormControl implementation with latest from Backoffice Validation (#788)
* default-to-undefined * align with newest code from backoffice * ts ignorer for updated * mark as @Protected * fix form control mixin * correct FormControlMixin implementation * remove null, so it becomes undefined * make default value optional * compose types for value type
1 parent 86062ae commit 0edfd0c

File tree

10 files changed

+2963
-677
lines changed

10 files changed

+2963
-677
lines changed

package-lock.json

Lines changed: 2795 additions & 579 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
"storybook": "^7.6.14",
128128
"tsc-files": "1.1.4",
129129
"turbo": "1.13.2",
130-
"typescript": "5.2.2",
130+
"typescript": "5.4.5",
131131
"vite": "5.0.13",
132132
"vite-plugin-turbosnap": "^1.0.3",
133133
"vite-tsconfig-paths": "4.3.2",

packages/uui-base/lib/events/UUIFormControlEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { UUIEvent } from './UUIEvent';
33

44
export class UUIFormControlEvent extends UUIEvent<
55
{},
6-
UUIFormControlMixinInterface<unknown, unknown>
6+
UUIFormControlMixinInterface<unknown>
77
> {
88
constructor(evName: string, eventInit: any | null = {}) {
99
super(evName, {

0 commit comments

Comments
 (0)