Skip to content

Commit

Permalink
[ILM] Fix data allocation field
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenaStoeva committed Feb 6, 2024
1 parent 0ec28c9 commit cb8dbe5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ export const NodeAllocation: FunctionComponent<SharedProps> = ({
<UseField
path={`_meta.${phase}.allocationNodeAttribute`}
component={SelectField}
config={{
defaultValue: nodeAllocationOptions.length ? nodeAllocationOptions[0].value : '',
}}
componentProps={{
helpText: !!selectedAllocationNodeAttribute ? (
<EuiButtonEmpty
Expand Down

0 comments on commit cb8dbe5

Please sign in to comment.