Skip to content

Commit 38b3bed

Browse files
authored
Add EntityBulkUpdateDialog.getSelectionFieldHelpBlockText() (#2531)
1 parent 7615619 commit 38b3bed

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/org/labkey/test/components/ui/entities/EntityBulkUpdateDialog.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.labkey.test.components.ui.entities;
22

33
import org.jetbrains.annotations.NotNull;
4+
import org.jetbrains.annotations.Nullable;
45
import org.labkey.remoteapi.CommandException;
56
import org.labkey.test.BootstrapLocators;
67
import org.labkey.test.Locator;
@@ -132,6 +133,15 @@ public EntityBulkUpdateDialog setSelectionField(CharSequence fieldIdentifier, St
132133
return setSelectionField(fieldIdentifier, List.of(selectValue));
133134
}
134135

136+
/**
137+
* @param fieldIdentifier Identifier for the field; name ({@link String}) or fieldKey ({@link FieldKey})
138+
* @return text displayed in the help block, if any, for the selection field
139+
*/
140+
public @Nullable String getSelectionFieldHelpBlockText(CharSequence fieldIdentifier)
141+
{
142+
return elementCache().getSelect(fieldIdentifier).getHelpBlockText();
143+
}
144+
135145
/**
136146
* @param fieldIdentifier Identifier for the field; name ({@link String}) or fieldKey ({@link FieldKey})
137147
* @return available options for the specified field

0 commit comments

Comments
 (0)