fix(dialog): prevent help text display when primary button is focused or active

This commit is contained in:
Sumit Jain 2026-04-24 17:04:34 +05:30
parent 299a15652f
commit c7f72cc315
2 changed files with 4 additions and 0 deletions

View file

@ -1191,6 +1191,8 @@ export default class Grid {
}
function show_help_text() {
if (dialog.get_primary_btn().is(":focus, :active")) return;
let value = dialog.get_value("value");
if (value == null || value === "") {
dialog.set_df_property(

View file

@ -420,6 +420,8 @@ export default class BulkOperations {
}
function show_help_text() {
if (dialog.get_primary_btn().is(":focus, :active")) return;
let value = dialog.get_value("value");
if (value == null || value === "") {
dialog.set_df_property(