Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>JS Bin</title>
    <script type="module" src="https://cdn.skypack.dev/@startinblox/core@0.16"></script>
  </head>
  <body>
    onload, solid-form-placeholder-text's label &amp; placeholder is modified properly:
    <br />
    <solid-form 
                id="onload"
                data-src="./something.jsonld"
                fields="field"
                widget-field="solid-form-placeholder-text"
                placeholder-field="Default text, onload"
                ></solid-form>
    <br />
    afterload, solid-form solid-form-placeholder-text's label attribute is modified, placeholder isn't:
    <br />
    <solid-form 
                  id="afterload"
                  data-src="./something-else.jsonld"
                  fields="field"
                  widget-field="solid-form-placeholder-text"
                  placeholder-field="Default text, afterload"
                  ></solid-form>
    <br />
    <button id="modify">Click here then inspect the afterload solid-form</button>
  </body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers