We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when datepicker in a form, when click <> to switch to prev/next month, will cause form submit, that is unexpect
<Form Model="@_selectEntity" OnFinish="OnFinish"> <Drawer Closable="true" Width="720" Visible="visible" OnClose="_=>Close()"> <DatePicker Picker="@DatePickerType.Date" Style="width:328px;" @bind-Value="@_selectEntity.ErrorDate" /> <Button Id="btnSave" Type="primary" HtmlType="submit" Disabled="isFinish">保存</Button> <Button Id="btnDelete" danger Disabled="isFinish" OnClick="()=>ShowConfirm(_selectEntity.Id)">删除</Button> </Drawer> </Form>
<Form Model="@_selectEntity" OnFinish="OnFinish">
<Drawer Closable="true" Width="720" Visible="visible" OnClose="_=>Close()">
<DatePicker Picker="@DatePickerType.Date" Style="width:328px;" @bind-Value="@_selectEntity.ErrorDate" />
<Button Id="btnSave" Type="primary" HtmlType="submit" Disabled="isFinish">保存</Button>
<Button Id="btnDelete" danger Disabled="isFinish" OnClick="()=>ShowConfirm(_selectEntity.Id)">删除</Button>
</Drawer>
</Form>
dotnet --info
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
when datepicker in a form, when click <> to switch to prev/next month, will cause form submit, that is unexpect
Steps to reproduce (please include code)
<Form Model="@_selectEntity" OnFinish="OnFinish">
<Drawer Closable="true" Width="720" Visible="visible" OnClose="_=>Close()">
<DatePicker Picker="@DatePickerType.Date" Style="width:328px;" @bind-Value="@_selectEntity.ErrorDate" />
<Button Id="btnSave" Type="primary" HtmlType="submit" Disabled="isFinish">保存</Button>
<Button Id="btnDelete" danger Disabled="isFinish" OnClick="()=>ShowConfirm(_selectEntity.Id)">删除</Button>
</Drawer>
</Form>
Further technical details
dotnet --info
The text was updated successfully, but these errors were encountered: