| title | NEWS |
|---|---|
| author | David Fong |
| date | 27th June 2020 |
| output | html_document |
22nd October 2021
- Caution in documentation regarding the potential return values of different
input.types. For example,textInputcannot return aNA(issue #33) - Documentation of using
tryCatchinside callbacks (suggestion from @andresrcs, issue #34)
- Co-erce
thedataparameter toas.data.frameduring insertion/modification of data when interpreting the data types of columns ofthedata.- otherwise the interpretation of data types of the columns of
thedatafails ifthedatais a tibble. - it is recommended that
thedatais a dataframe, not a tibble.
- otherwise the interpretation of data types of the columns of
- Fix error if
checkboxinputvalue == NA: missing value where TRUE/FALSE neededshiny::checkboxInput()cannot handle a value ofNA- convert to
FALSEsodteditdoes not crash. - pull request #35, written by Ben Best (@bbest)
27th August 2021
inputEventallows custom response to changes in add/edit modal dialog inputs. Allows the use ofshinyFeedbackhttps://github.com/merlinoa/shinyFeedback (issue #17 and issue #9)selectizeInput,selectizeInputReactive,selectizeInputMultipleselectizeInputMultipleReactiveinput options. usesshiny::selectizeInputinstead ofshiny::selectInputselectize.options- a list of options forselectizeInputvariants. This can be the same list of options for allselectize*inputs, but can also be a named list of individually defined options, each named list must be the same as aselectize*editable column.
checkboxInputfor logical (TRUE/FALSE) values- by Matthias Hinz (@MatthiasHinz), resolving issue #19
checkbox.widthto adjust checkbox widths
- fix entering an empty (NA) date in
dateInputanddatetimeInputwhen editing an entry (issue #21) - fix for error when there is only one editable column.
- by Matthias Hinz (@MatthiasHinz)
- use
shiny::throttleforclick.time.threshold - add
logicaltodtedit_test()
21st October 2020
result$rows_selectedreturns the row selected, issue #10
- testing for
datetimeInput
- adding row with
datetimeInputdid not work
- reactive_demo test set to R 4.0+ random number generator method
- removal of some tests from error_test due to unusual locale error
22nd August 2020
datetimeInputfor date and time input ofPOSIXctfields- requires
useairDatepickerto be set to TRUE - associated option
datetime.widthto set width of input widget
- requires
useairDatepickerallows use ofshinyWidgetsdate/time picker- requires
shinyWidgets>= 0.5.2
- requires
- references to
class()now just refer to the first value in the returned vector, as calls toswitch(class(x), ...)failed whenclassreturns a multi-element vector. - fix
dteditmod/dteditmodUIexamples to accurately reflect actual use inside modules.
28th June 2020
- Custom icons for Add/Edit/Delete/Copy buttons
icon.delete,icon.edit,icon.addandicon.copy- by László Szakács (@cocinerox), after @vwrobel
- error messages, e.g. generated by
callback.insert, can have HTML- by László Szakács (@cocinerox)
20th June 2020
- Allow definition of which data columns
are displayed in the delete dialog, and how those columns are labelled.
delete.info.colsanddelete.info.label.cols- written by László Szakács (@cocinerox)
- Allow display of rownames.
datatable.rownames. By default, set toFALSE. If set toTRUE, then row names are also displayed in edit and update modal dialogs.datatable.rownamesmust be set toTRUEif usingDT::format*()functions indatatable.call.
- Allow changes in the transfer of data to
DT::renderDataTabledatatable.callFor example this allows the use ofDT::format*()functions. When usingDT::format*()functions, note the warning indatatable.rownamesabove, asdatatable.rownamesmust be set toTRUEto useDT::format*(). See vignette andhelp(dtedit)for further details.- 'under the hood' there is a significant change in the way
DT::renderDataTableis called. - This is a breaking change. Previously, if unrecognized options were used when
calling
dtedit/dteditmod, the unrecognized options were passed through toDT::renderDataTable. IfDT::renderDatatabledid not recognize the options, those options were passed through toDT::datatable. However, sinceDT::renderDataTableis now called with the results of aDT::datatablecall, instead ofthedata, unrecognized options are not passed through toDT::datatable(this is a quirk ofDT::renderDataTable). This change in behaviour can be worked around (by definingdatatable.callwith requiredDT::datatableoptions).
16th June 2020
dtedit/dteditmodreturnsreactiveValues$thedata,$view.cols,$edit.cols,$edit.count- compatible with
DTeditversion 1.0.0 but not compatible with versions 2.0.0/2.0.1
- Add parameters for text on save/cancel buttons and delete modal dialog
label.save,label.cancelandtext.delete.modal- written by László Szakács (@cocinerox)
14th June 2020
- Vignette. Vignette also available on RPubs.
- Passes checks with
devtools::check()and Travis CI. - Code testing and coverage with
testthat,shinytest,covrand codecov. - Multiple examples, demonstrations and testing shiny applications.
- Many accessible through
dtedit_*_demoanddtedit_test
- Many accessible through
- Improvements in handling of input choices for
selectInputMultiple
- inserting a new row failed with particular variable classes of columns - FIXED
7th June 2020
- Modularized version :
dteditmodanddteditmodUI thedatacan be a reactive, in which casedtedit's copy ofthedatawill change when the reactive changes.selectInputReactiveandselectInputMultipleReactive- 'reactive' versions ofselectInputandselectInputMultiple. The valid options can dynamically change through reactivity.- blob/raw columns which can be edited with the
fileInputinput type. - action buttons with
action.buttonsoption. Associatedcallback.actionButtioncallback option.
dteditanddteditmodreturn a list with$thedataand$edit.count.$view.colsand$edit.colsare not returned.
suspendWhenHiddenis set toFALSE, allowing changes to be rendered when the table is not visible.
- add error handling to the delete modal defined in
callback.deleteoption. ...options to be passed toDT::renderDataTable- many more examples
thedatadataframe did not work if there was only one column - FIXED- data columns can be delete during
updateDatafunction call if a column is empty - FIXED - erroneous errors under certain conditions of choices for
selectInputMultiple- FIXED - module version
selectInputdid not show previously chosen option - FIXED- Klodian Dhana (#1, @klodiandhana) (#febc655)