Changes that have landed in master but are not yet released. Click to see more.
-
Common
- Removed
UIKernel.createXhrValidator
(use createValidator)
- Removed
-
Grid
- Rerender Grid if passed new object to viewColumns prop
- "create" and "delete" events in GridModel has
Array
type in GridCollectionModel - Changed GridCollectionModel.delete(recordId) method to GridCollectionModel.delete(recordIds: Array)
- Changed className of extra records from "others" to "dgrid-others" in GridComponent
- Changed param type in onChange prop. Now it's Map<TKey, TValue> instead of simple object
- Renamed property
validation
tovalidator
in GridCollectionModel - No
exportGridData
,toJSON
,toCSV
in browser bundle
-
From
-
ValidationErrors
UIKernel.Models.ValidationErrors
moved toUIKernel.ValidationErrors
- Changed type
validationErrors.getFieldErrors(string): Array | null
tovalidationErrors.getFieldErrors(string): Array
- Changed type
validationErrors.getFieldErrorMessages(string): Array | null
tovalidationErrors.getFieldErrorMessages(string): Array
- Changed type
validationErrors.getFailedFields(): string[] | null
tovalidationErrors.getFailedFields(): string[]
-
DatePicker Editor
- Updated datepicker to version 3.6. Need to change format of
format
andtextFormat
props frommoment.js
style todate-fns
style.
- Updated datepicker to version 3.6. Need to change format of
-
Grid
- Added argument initialRecord to grid columns render function
- Added grid context param to columns render method
- Added
multipart/form-data
encoding to GridXHRModel - Added toCSV export
- Added
pageSizeLabel
prop to GridComponent - Added
recordId
property to GridModel.prototype.isValidRecord
-
Form
-
SuggestBox Editor
- Added "withEmptyOption" prop to suggest editor [263, 265]
- Add defaultOpenTop props to SuggestBox
-
DatePicker Editor
-
Validators
- Added UIKernel.Validator
- createValidator is deprecated. Use ValidatorBuilder
-
Grid
- Fixed
disabled
attribute processing in grid buttons - Fixed grid behavior after pressing ESC or ENTER
- Removed selected prop mutation which cause bugs
- Fixed update of grid after data changes
- Fixed update of grid after select/unselect
- Fixed adding statuses (addRecordStatus)
- Apply grid filters by merging with previously applied ones
- Fixed handling of plain Errors among changes returned from GridModel.prototype.update
- Fixed bugs concerned with editing of grids
- Made calling of grid.onChange after every change in the grid, not only after blur
- Send POST read request if query string too large
- Fixed removing of unnecessary extra records
- Throw client error when update changes are not an array
- Allowed empty fields in GridExpressApi
- Fixed infinity loader on error
- Fix in-grid editor's updateField method
- Fixed error in removeRecordStatus
- Fix getError bug
- Fixed bug with checking viewColumns
- Update GridComponent if
selectBlackListMode
prop has been changed - Fixed applying GridComponent.prototype.setSelectedRecords
- Fixed bugs with removeRecordStatus and removeRecordStatusAll methods
- Fixed
-
Form
- Fixed bug with
FormService.prototype.clearValidation
because of accidental mutations - Add clearing validation error for changing field
- Fixed bug with
getAll().isLoaded
inFormService
iffromModel.getData
throws error
- Fixed bug with
-
SuggestBox Editor
- Fixed text overlapping on button
- Fixed bug with disabled list items with empty value (0, "", null)
- Made moving popup of SuggestBox above the input if it doesn't fit under
- Prevented SuggestBox from closing when scrolling event is triggered
- Fixed small bag in trying to use dom element of unmounted SuggestBox
-
DatePicker Editor
-
Validators
- Handle case when invalid date value was passed to validator
- Fixed Date validator
- Validator could not work with field name
constructor
- Fixed merging of same fields in
ValidationErrors.prototype.merge
method
-
Grid
- Change lines color
- Fixed grid pagination buttons by wcag. Tag "a" changed to "button"
- Removed
data
property inGridCollectionModel
. AddedgetData
method.
-
Form