test, actualizar opciones al actualizar componente
This commit is contained in:
parent
e6b3f29bfa
commit
50f85273d5
@ -141,18 +141,6 @@ var DraggableAttribute = exports.DraggableAttribute = function (_React$Component
|
|||||||
},
|
},
|
||||||
'Mostrar Todas las Opciones'
|
'Mostrar Todas las Opciones'
|
||||||
),
|
),
|
||||||
' ',
|
|
||||||
_react2.default.createElement(
|
|
||||||
'a',
|
|
||||||
{
|
|
||||||
role: 'button',
|
|
||||||
className: 'pvtButton',
|
|
||||||
onClick: function onClick() {
|
|
||||||
_this2.props.updateFilterOptions();
|
|
||||||
}
|
|
||||||
},
|
|
||||||
'Mostrar Opciones en Tabla'
|
|
||||||
),
|
|
||||||
_react2.default.createElement('br', null),
|
_react2.default.createElement('br', null),
|
||||||
_react2.default.createElement('input', {
|
_react2.default.createElement('input', {
|
||||||
type: 'text',
|
type: 'text',
|
||||||
@ -458,6 +446,7 @@ var PivotTableUI = function (_React$PureComponent2) {
|
|||||||
}, {
|
}, {
|
||||||
key: 'componentDidUpdate',
|
key: 'componentDidUpdate',
|
||||||
value: function componentDidUpdate() {
|
value: function componentDidUpdate() {
|
||||||
|
this.updateFilterOptions();
|
||||||
this.materializeInput(this.props.data);
|
this.materializeInput(this.props.data);
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "v-react-pivottable",
|
"name": "v-react-pivottable",
|
||||||
"version": "0.11.41",
|
"version": "0.11.42",
|
||||||
"description": "A React-based pivot table",
|
"description": "A React-based pivot table",
|
||||||
"main": "PivotTableUI.js",
|
"main": "PivotTableUI.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
Loading…
Reference in New Issue
Block a user