iziToast icon indicating copy to clipboard operation
iziToast copied to clipboard

Feature: Add label or other elements in "input" property

Open flaird opened this issue 5 years ago • 0 comments

Right now, when inserting a label or another element before an element that is an "input" element, nothing inside the function is executed.

For example this does not log anything to the console:

inputs: [
    ['<label>Checkbox</label><input type="checkbox">', 'change', function (instance, toast, input, e) {
        console.info(input.checked);
    }],
],

Am I doing it wrong or can this be implemented?

flaird avatar Aug 17 '18 18:08 flaird