fix(striker-ui): default to warning messages in GateForm

main
Tsu-ba-me 1 year ago
parent 483f8db9ed
commit 99a82e3d75
  1. 8
      striker-ui/components/GateForm.tsx

@ -135,7 +135,13 @@ const GateForm = forwardRef<GateFormForwardedRefContent, GateFormProps>(
if (isAllowSubmit) {
result['gate-cell-message-group'] = {
children: <MessageGroup count={1} ref={messageGroupRef} />,
children: (
<MessageGroup
count={1}
defaultMessageType="warning"
ref={messageGroupRef}
/>
),
sm: 2,
};
result['gate-cell-submit'] = { children: submitElement, sm: 2 };

Loading…
Cancel
Save