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
EditableProTable timeRange value resets after selecting both values and clicking Ok button
Selected time are not removed
import React from "react"; import { EditableProTable } from "@ant-design/pro-components"; export default function App() { const [dataSource, setDataSource] = React.useState([]); const columns = [ { key: "times", dataIndex: "times", valueType: "timeRange", fieldProps: { changeOnBlur: true, format: "HH:mm", minuteStep: 15, order: false, }, formItemProps: { rules: [ { required: true, message: "Required", }, ], }, }, ]; return ( <> {JSON.stringify(dataSource)} <EditableProTable rowKey="id" value={dataSource} dataSource={dataSource} onChange={setDataSource} columns={columns} recordCreatorProps={{ position: "bottom", newRecordType: "dataSource", record: { id: 1, times: [], }, }} /> </> ); }
My code was working before. I guess this occurred after an update.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
π bug ζθΏ°
EditableProTable timeRange value resets after selecting both values and clicking Ok button
π· ε€η°ζ₯ιͺ€
π ζζη»ζ
Selected time are not removed
π» ε€η°δ»£η
Β© ηζ¬δΏ‘ζ―
π ε Άδ»δΏ‘ζ―
My code was working before. I guess this occurred after an update.
The text was updated successfully, but these errors were encountered: