Hi @AnnMarieW ,
Thanks for your help, your answer works perfectly for me.
Now I’m facing a new challenge which is to make a cell using textarea but I fail to keep placeholder value when users change cell value.
Moreover, as an extension, I’m trying to save the value of users’ input textarea as new tags, and I want the AG Grid table to load those saved tags as new cell values but the placeholder still keeps the original value (to remind users when they forget original value).
I imagine it might be necessary to give two values (one is for value and the other is for placeholder) to the textarea but I don’t know how to achieve that using Dash AG Grid.
Do you have any suggestions for me? Thank you in advance.
dagcomponentfuncs.TextArea = function (props) {
return React.createElement(
'textarea', {
value: props.value,
placeholder: props.placeholder,
}
)
};