Skip to content

Instantly share code, notes, and snippets.

View paulorenanmelo's full-sized avatar

Paulo Renan Melo paulorenanmelo

View GitHub Profile
@paulorenanmelo
paulorenanmelo / dialog.html
Last active September 9, 2019 07:35 — forked from coinsandsteeldev/dialog.html
Google Sheets script to allow multi-select in cells with data-validation (adapted from https://www.youtube.com/watch?v=dm4z9l26O0I). Edit1: break lines between selections, instead of comma. Edit2: Add Select All button, and change name from Reset to Clear selection. Sorry for bad copied code in html. Quick mindless solution
<!DOCTYPE html>
<html>
<head>
<script>
var data
var formId = 'form'
function drawForm() {
if (!data) return
var outputEl = document.getElementById(formId);