Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

New answers tagged

0

It seems impossible to change the text of placeholder. @jayanta Das has answered here why you can't: Set custom placeholder in lightning:recordEditForm Apart from that, I tried changing it using CSS. But it seems it allows me to change the style of placeholder text but the text itself. .THIS ::placeholder { color:red; content:'replacement string'; }...


3

event.detail will give you the data sent in event and event.target (or event.currentTarget) will give you the details about the elements. Currently you are looking for attributes on source element so you should be using event.target. Below will give you fieldName: handleInputChange(event) { console.log('fieldName => ', event.target.fieldName); } ...


Top 50 recent answers are included