Skip to content

Commit

Permalink
Remove placeholder text (#22274)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: RachelElysia <[email protected]>
  • Loading branch information
noahtalerman and RachelElysia committed Sep 20, 2024
1 parent a17ab39 commit fc8b1d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,6 @@ const AppleOSTargetForm = ({
setDeadline(val);
};

const getMinimumVersionPlaceholder = (platform: ApplePlatform) => {
switch (platform) {
case "darwin":
return "13.0.1";
case "ios":
case "ipados":
return "17.5.1";
default:
return "";
}
};

const getMinimumVersionTooltip = () => {
return (
<>
Expand Down Expand Up @@ -210,7 +198,6 @@ const AppleOSTargetForm = ({
label="Minimum version"
tooltip={getMinimumVersionTooltip()}
helpText="Version number only (e.g., “13.0.1” not “Ventura 13” or “13.0.1 (22A400)”)"
placeholder={getMinimumVersionPlaceholder(applePlatform)}
value={minOsVersion}
error={minOsVersionError}
onChange={handleMinVersionChange}
Expand All @@ -219,7 +206,6 @@ const AppleOSTargetForm = ({
label="Deadline"
tooltip={getDeadlineTooltip(applePlatform)}
helpText="YYYY-MM-DD format only (e.g., “2024-07-01”)."
placeholder="2024-07-01"
value={deadline}
error={deadlineError}
onChange={handleDeadlineChange}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,6 @@ const WindowsTargetForm = ({
label="Deadline"
tooltip="Number of days the end user has before updates are installed and the host is forced to restart."
helpText="Number of days from 0 to 30."
placeholder="5"
value={deadlineDays}
error={deadlineDaysError}
onChange={handleDeadlineDaysChange}
Expand All @@ -167,7 +166,6 @@ const WindowsTargetForm = ({
label="Grace period"
tooltip="Number of days after the deadline the end user has before the host is forced to restart (only if end user was offline when deadline passed)."
helpText="Number of days from 0 to 7."
placeholder="2"
value={gracePeriodDays}
error={gracePeriodDaysError}
onChange={handleGracePeriodDays}
Expand Down

0 comments on commit fc8b1d6

Please sign in to comment.