Skip to content

Commit

Permalink
Merge pull request #1224 from cdapio/cherry-pick-nullable-tooltip-rel…
Browse files Browse the repository at this point in the history
…ease69

Add tooltip for nullable checkbox in schema table
  • Loading branch information
radhikav1 authored Jun 28, 2024
2 parents 49ec52f + fc25b69 commit d257e0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import * as React from 'react';
import CheckBox from '@material-ui/core/Checkbox';
import CheckBoxIcon from '@material-ui/icons/CheckBox';
import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';
import T from 'i18n-react';

interface INullableBaseProps {
nullable: boolean;
Expand All @@ -36,6 +37,7 @@ const NullableBase = ({ nullable, onNullable: onChange }: INullableBaseProps) =>
onChange(e.target.checked);
}}
disabled={typeof onChange !== 'function'}
title={T.translate('features.SchemaEditor.Tooltips.nullableCheckbox').toString()}
/>
);
};
Expand Down
2 changes: 2 additions & 0 deletions app/cdap/text/text-en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3164,6 +3164,8 @@ features:
Labels:
fieldName: Field name
symbolName: Symbol name
Tooltips:
nullableCheckbox: Select to make the column nullable
ServiceEnableUtility:
serviceNotFound: Cannot find {artifactName} artifact
SourceControlManagement:
Expand Down

0 comments on commit d257e0c

Please sign in to comment.