Skip to content

Commit 1461dcf

Browse files
docs(select): update to ok
Co-Authored-By: brandyscarney <brandyscarney@users.noreply.github.com>
1 parent 02f5da1 commit 1461dcf

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/components.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3022,7 +3022,7 @@ export namespace Components {
30223022
}
30233023
interface IonSelect {
30243024
/**
3025-
* The text to display on the cancel button. Defaults to `'Cancel'` for the `alert` and `action-sheet` interfaces, and `'Okay'` for the `modal` interface.
3025+
* The text to display on the cancel button. Defaults to `'Cancel'` for the `alert` and `action-sheet` interfaces, and `'Ok'` for the `modal` interface.
30263026
*/
30273027
"cancelText"?: string;
30283028
/**
@@ -8204,7 +8204,7 @@ declare namespace LocalJSX {
82048204
}
82058205
interface IonSelect {
82068206
/**
8207-
* The text to display on the cancel button. Defaults to `'Cancel'` for the `alert` and `action-sheet` interfaces, and `'Okay'` for the `modal` interface.
8207+
* The text to display on the cancel button. Defaults to `'Cancel'` for the `alert` and `action-sheet` interfaces, and `'Ok'` for the `modal` interface.
82088208
*/
82098209
"cancelText"?: string;
82108210
/**

core/src/components/select/select.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class Select implements ComponentInterface {
9595
/**
9696
* The text to display on the cancel button.
9797
* Defaults to `'Cancel'` for the `alert` and `action-sheet`
98-
* interfaces, and `'Okay'` for the `modal` interface.
98+
* interfaces, and `'Ok'` for the `modal` interface.
9999
*/
100100
@Prop() cancelText?: string;
101101

@@ -530,7 +530,7 @@ export class Select implements ComponentInterface {
530530
/**
531531
* Resolves the cancel button text, falling back to the
532532
* per-interface default when `cancelText` is not set:
533-
* `'Okay'` for the `modal` interface, `'Cancel'` otherwise.
533+
* `'Ok'` for the `modal` interface, `'Cancel'` otherwise.
534534
*/
535535
private get interfaceCancelText(): string {
536536
if (this.cancelText !== undefined) {

0 commit comments

Comments
 (0)