mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Remove placeholder text (#22274)
--------- Co-authored-by: RachelElysia <rachel@fleetdm.com>
This commit is contained in:
parent
a17ab39ab6
commit
fc8b1d67f5
2 changed files with 0 additions and 16 deletions
|
|
@ -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 (
|
||||
<>
|
||||
|
|
@ -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}
|
||||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue