Actor cancel button not visible and 'add' text missing
#CTCTOWALTZ-2300
*/
import {initialiseData, invokeFunction} from "../../common";
-import template from './basic-actor-selector.html';
+import template from "./basic-actor-selector.html";
const bindings = {
- allActors: '<',
- addLabel: '@',
- cancelLabel: '@',
- onCancel: '<',
- onAdd: '<',
- onSelect: '<'
+ allActors: "<",
+ addLabel: "@?",
+ cancelLabel: "@?",
+ onCancel: "<",
+ onAdd: "<",
+ onSelect: "<"
};
const initialState = {
- addLabel: 'Add',
- cancelLabel: 'Cancel',
- onCancel: () => console.log('No onCancel provided to basic actor selector'),
- onAdd: (a) => console.log('No onAdd provided to basic actor selector', a),
- onSelect: (a) => console.log('No onSelect provided to basic actor selector', a)
+ addLabel: "Add",
+ cancelLabel: "Cancel",
+ onCancel: () => console.log("No onCancel provided to basic actor selector"),
+ onAdd: (a) => console.log("No onAdd provided to basic actor selector", a),
+ onSelect: (a) => console.log("No onSelect provided to basic actor selector", a)
};
