Use examples as placeholders in tier form

This commit is contained in:
Peter Zimon 2021-09-01 12:53:37 +02:00
parent 8cce7989f2
commit 16aec55acf
2 changed files with 3 additions and 4 deletions

View File

@ -15,7 +15,7 @@
>
<GhTrimFocusInput
@shouldFocus={{this.benefitItem.last}}
@placeholder="Add benefit"
@placeholder="Expert analysis"
@value={{readonly this.name}}
@input={{action "updateLabel" value="target.value"}}
@keyPress={{action "clearLabelErrors"}}

View File

@ -17,10 +17,10 @@
@value={{readonly this.product.name}}
@input={{action (mut this.product.name) value="target.value"}}
@name="name"
@placeholder="Bronze"
@id="name"
@class="gh-input" />
<GhErrorMessage @errors={{this.errors}} @property="name" />
<p>Examples: Bronze, Silver, Gold</p>
</GhFormGroup>
<GhFormGroup @errors={{this.errors}} @property="description">
<label for="description" class="fw6">Description</label>
@ -28,10 +28,10 @@
@value={{readonly this.product.description}}
@input={{action (mut this.product.description) value="target.value"}}
@name="description"
@placeholder="Full access to premium content"
@id="description"
@class="gh-input" />
<GhErrorMessage @errors={{this.errors}} @property="description" />
<p>Example: Full access to premium content</p>
</GhFormGroup>
<GhFormGroup @errors={{this.settings.errors}} @hasValidated={{this.settings.hasValidated}} @property="prices">
<div class="gh-settings-members-pricelabelcont">
@ -115,7 +115,6 @@
@deleteItem={{action "deleteBenefit"}}
@updateLabel={{action "updateLabel"}}
data-test-navitem="new" />
<p class="gh-product-benefit-hint">Example: Expert analysis</p>
</form>
</div>
</div>