Releases: dev-family/admiral
v5.9.7
v5.9.6
What's new:
-
Add baseAppUrl props in component to change the base path of the app.
It's works with react-routerExample:
<Admin baseAppUrl="/app" />
v5.9.5
v5.9.4
v5.9.3
What's new:
- export admiralLocales from entry point
What's fixed:
- return to previous page in CRUD after edit Submit
v5.9.2
What's fixed?
- SelectInput selectList is now accepting value === 0
- SelectInput disabling drag&drop actions on disabled state of component
v5.9.1
What's fixed?
- FilePictureInput component disabled state. Now it could work with preview and download active buttons in FileList.
V5.9.0
What’s new?
- Debounce for quick filters
- When adding a new block inside ArrayInput, shift the focus to the input field
What's fixed?
- Page reloading after logout for reset all data
- Change the styles of quick filters for better cross-browser compatibility
v5.8.0
What’s new??
- Form Components:
Connected onChange method to BooleanInput, ColorPicketInput, DatePickerInput, DraggerInput, EditorInput, MultilineTextInput, PasswordInput, RadioInput, SelectInput, SlugInput, TextInput, TimePickerInput.
v5.7.0
What’s new??
- DataTable Component:
Added 'refresh' parameter to the 'render' in the rowSelection prop that allows you to update data in the DataTable component.
Example:
export const CRUD = createCRUD({
index: {
...
tableConfig: {
rowSelection: {
render: ({ selectedRowKeys, refresh }) => (
<RowSelection selectedKeys={selectedRowKeys} refresh={refresh} />
),
},
},
}
})
...
function RowSelection({ refresh }: { refresh: () => void }) {
const onClick = () => {
//...
refresh()
}
return (
<div>
<Button onClick={onClick}>
Delete
</Button>
</div>
)
}
-
DeleteAction Component:
We have added an error notification to the DeleteAction component in the table. -
Filters Component:
We've added locales for form components in filters.
type Locale = {
filters: FiltersLocale
form: FormLocale
}
-
Form Component:
Added handling for unknown server errors and cleared previous validation errors. Server error messages will now be displayed in notifications.If there is no server error message, the user will see the following message: "An error occurred on the server."
-
AppliedFilters:
We have added the display of the applied filter from the AjaxSelectInput component.
- Radio Component:
Added Radio and RadioGroup components and ‘RadioInput’ form field.
What’s new??
-
SubMenu Component:
Fixed an issue that caused the menu to automatically close when navigating to internal site links. Now, the menu will remain open, enhancing the user experience when navigating between different sections of the site. -
Select Component:
We have added clear icon and corrected the returned value in the Select component. Previously, it returned undefined, and now it returns null.
- Added redirection to the home page if the route does not match