-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into feature/tk-ui-58
- Loading branch information
Showing
36 changed files
with
235 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ import { tracked } from '@glimmer/tracking'; | |
import type { Owner } from '@ember/test-helpers/build-owner'; | ||
|
||
export default class DocsEmberInputValidationPrefabsEmailController extends Controller { | ||
@tracked changeset = new ImmerChangeset({ | ||
changeset = new ImmerChangeset({ | ||
email: undefined, | ||
disabled: '[email protected]', | ||
error: 'hyperloop.com', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
doc-app/app/controllers/docs/ember-input-validation/prefabs/radio-group.js
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
doc-app/app/controllers/docs/ember-input-validation/prefabs/radio-group.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import Controller from '@ember/controller'; | ||
import { action } from '@ember/object'; | ||
import { tracked } from 'tracked-built-ins'; | ||
import { ImmerChangeset } from 'ember-immer-changeset'; | ||
import type Owner from '@ember/owner'; | ||
|
||
export default class DocsEmberInputValidationPrefabsRadioGroupController extends Controller { | ||
changeset = new ImmerChangeset({ | ||
radio: undefined, | ||
}); | ||
|
||
changesetWithErrors = new ImmerChangeset({ | ||
radio: undefined, | ||
}); | ||
|
||
public constructor(owner: Owner) { | ||
super(owner); | ||
this.changesetWithErrors.addError({ | ||
key: 'radio', | ||
message: 'Invalid value', | ||
value: 'Invalid value', | ||
originalValue : '' | ||
}); | ||
} | ||
|
||
@action | ||
onChange() { | ||
|
||
} | ||
} |
15 changes: 0 additions & 15 deletions
15
doc-app/app/controllers/docs/ember-input-validation/prefabs/radio.js
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
doc-app/app/controllers/docs/ember-input-validation/prefabs/radio.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import Controller from '@ember/controller'; | ||
import { ImmerChangeset } from 'ember-immer-changeset'; | ||
import { action } from '@ember/object'; | ||
import type Owner from '@ember/owner'; | ||
|
||
export default class DocsEmberInputValidationPrefabsRadioController extends Controller { | ||
changeset = new ImmerChangeset({ | ||
radio: '', | ||
}); | ||
|
||
changesetWithErrors = new ImmerChangeset({ | ||
radio: '', | ||
}); | ||
|
||
public constructor(owner: Owner) { | ||
super(owner); | ||
this.changesetWithErrors.addError({ | ||
key: 'radio', | ||
message: 'Invalid value', | ||
value: 'Invalid value', | ||
originalValue : '' | ||
}); | ||
} | ||
|
||
@action | ||
onChange(e: Event) { | ||
console.log('onChange', e); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.