When I use skipvalidation inside a!buttonWidgeSubmit, why did I still get warning for the field which is required in the form?

I want to use skipvalidation to avoid all the required field for one of the buttons. But with the test code, it didn't work. Can someone help me out. I could just find few document and reference about skipValidation. The current version I use is 16.1.

load(
local!button1,
local!button2,
local!button3,
local!text1,
local!text2,
local!text3,
a!formLayout(
label: "test",
firstColumnContents: {
with(
a!sectionLayout(
firstColumnContents: {
a!dropdownField(
label: "testabc",
required: true,
placeholderLabel: "choose",
choiceLabels: {"a", "b", "c"},
choiceValues: {"a", "b", "c"},
value: local!text3,
saveInto: local!text3,
requiredMessage: "have to select a abc"
),
a!textField(
label: "test1",
required: true,
value: local!text1,
saveInto: local!text1,
validations: if(
len(
local!text1
) > 10,
"right",
"wrong"
)
),
a!textField(
label: "test2",
required: true,
value: local!text2,
saveInto: local!text2
)
}
))
},
buttons: a!buttonLayout(
primaryButtons: {
a!buttonWidgetSubmit(
label: "save1",
value: local!button1,
saveInto: local!button1,
skipValidation: true
),
a!buttonWidgetSubmit(
label: "save2",
value: local!button2,
saveInto: local!button2
)
},
secondaryButtons: a!buttonWidgetSubmit(
label: "close",
style: "DESTRUCTIVE",
skipValidation: true,
confirmMessage: null,
value: local!button3,
saveInto: local!button3
)
)
)
)

  Discussion posts and replies are publicly visible