Don't use placeholder text for examples.
This commit is contained in:
@@ -88,11 +88,11 @@ function copyText(value, label) {
|
|||||||
<input ref="displayNameInput" v-model="dialog.data.display_name" required />
|
<input ref="displayNameInput" v-model="dialog.data.display_name" required />
|
||||||
</label>
|
</label>
|
||||||
<label>Permission Scope
|
<label>Permission Scope
|
||||||
<input v-model="dialog.data.scope" :placeholder="dialog.type === 'perm-create' ? 'yourapp:permission' : dialog.data.permission.scope" required :pattern="PERMISSION_ID_PATTERN" title="Allowed: A-Za-z0-9:._~-" data-form-type="other" />
|
<input v-model="dialog.data.scope" required :pattern="PERMISSION_ID_PATTERN" title="Allowed: A-Za-z0-9:._~-" data-form-type="other" />
|
||||||
</label>
|
</label>
|
||||||
<p class="small muted">E.g. yourapp:reports. Changing the scope name may break deployed applications.</p>
|
<p class="small muted">E.g. yourapp:reports. Changing the scope name may break deployed applications.</p>
|
||||||
<label>Domain Scope
|
<label>Domain Scope
|
||||||
<input v-model="dialog.data.domain" placeholder="e.g. app.example.com or OIDC client UUID" data-form-type="other" />
|
<input v-model="dialog.data.domain" data-form-type="other" />
|
||||||
</label>
|
</label>
|
||||||
<p class="small muted">A domain ({{ rpId }} or subdomain) restricts this permission to that host. An OIDC client UUID sends it as a <em>groups</em> claim to that client.</p>
|
<p class="small muted">A domain ({{ rpId }} or subdomain) restricts this permission to that host. An OIDC client UUID sends it as a <em>groups</em> claim to that client.</p>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -187,7 +187,7 @@ defineExpose({ focusFirstElement })
|
|||||||
</div>
|
</div>
|
||||||
<div class="section-body">
|
<div class="section-body">
|
||||||
<label>Client Name
|
<label>Client Name
|
||||||
<input v-model="name" placeholder="My Application" required />
|
<input v-model="name" required />
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label>Redirect URIs
|
<label>Redirect URIs
|
||||||
|
|||||||
@@ -114,13 +114,13 @@
|
|||||||
<input id="edit-display-name" type="text" v-model="editName" :disabled="saving" required />
|
<input id="edit-display-name" type="text" v-model="editName" :disabled="saving" required />
|
||||||
</label>
|
</label>
|
||||||
<label for="edit-email">Email
|
<label for="edit-email">Email
|
||||||
<input id="edit-email" type="email" v-model="editEmail" :disabled="saving" placeholder="user@example.com" />
|
<input id="edit-email" type="email" v-model="editEmail" :disabled="saving" />
|
||||||
</label>
|
</label>
|
||||||
<label for="edit-username">Preferred Username
|
<label for="edit-username">Preferred Username
|
||||||
<input id="edit-username" type="text" v-model="editUsername" :disabled="saving" placeholder="username" />
|
<input id="edit-username" type="text" v-model="editUsername" :disabled="saving" placeholder="username" />
|
||||||
</label>
|
</label>
|
||||||
<label for="edit-telephone">Telephone
|
<label for="edit-telephone">Telephone
|
||||||
<input id="edit-telephone" type="tel" v-model="editTelephone" :disabled="saving" placeholder="+1-555-123-4567" />
|
<input id="edit-telephone" type="tel" v-model="editTelephone" :disabled="saving" />
|
||||||
</label>
|
</label>
|
||||||
<div v-if="editError" class="error small">{{ editError }}</div>
|
<div v-if="editError" class="error small">{{ editError }}</div>
|
||||||
<div class="modal-actions">
|
<div class="modal-actions">
|
||||||
|
|||||||
Reference in New Issue
Block a user