Skip to content

Added option for HTML5 datalist input#81

Open
gagan-bansal wants to merge 2 commits intoejbeaty:masterfrom
gagan-bansal:master
Open

Added option for HTML5 datalist input#81
gagan-bansal wants to merge 2 commits intoejbeaty:masterfrom
gagan-bansal:master

Conversation

@gagan-bansal
Copy link

I have also added a column city in advance.html to showcase the type datalist.

inputType = inputSetting.type.toLowerCase();
}
});
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just replaced tabs with space.

if (typeof inputSetting.options !== 'undefined' && typeof inputSetting.options.icon !== 'undefined') {
icon = inputSetting.options.icon;
}
var self = jQuery('.datepick').datepicker(
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just replaced tab with space.

},100);
break;
},100);
break;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just replaced tab with space.

default: // text input
input.html = startWrapperHtml + "<input id='ejbeatycelledit' class='" + inputCss + "' onfocusout='$(this).updateEditableCell(this)' value='" + oldValue + "'></input>" + endWrapperHtml;
case "number-confirm" :
input.html = startWrapperHtml + "<input id='ejbeatycelledit' type='number' class='" + inputCss + "' value='"+oldValue+"'" + (listenToKeys ? " onkeyup='if(event.keyCode==13) {$(this).updateEditableCell(this);} else if (event.keyCode===27) {$(this).cancelEditableCell(this);}'" : "") + "></input>&nbsp;<a href='javascript:void(0);' class='" + confirmCss + "' onclick='$(this).updateEditableCell(this)'>Confirm</a> <a href='javascript:void(0);' class='" + cancelCss + "' onclick='$(this).cancelEditableCell(this)'>Cancel</a>" + endWrapperHtml;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added indentation

@gagan-bansal
Copy link
Author

Should I squash all the three commits?

@gagan-bansal
Copy link
Author

Squashed all my commits.

@gagan-bansal
Copy link
Author

HI @ejbeaty,

Can you please check if this can me merged.
I had added option for HTML5 datalist.
I just merged your master/HEAD with my branch and there was no conflict.

Gagan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant