mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed email-cta card button input placeholder disappearing on focus
no issue - behaviour was from copy-pasting from a different input where the placeholder was intentionally hidden on focus, that's not desirable in this case
This commit is contained in:
parent
ba5b5f7935
commit
233e57071f
1 changed files with 1 additions and 3 deletions
|
@ -91,10 +91,8 @@
|
|||
id={{this.buttonTextInputId}}
|
||||
name="button-text"
|
||||
value={{@payload.buttonText}}
|
||||
placeholder={{if this.buttonFocused "" "Add button text"}}
|
||||
placeholder="Add button text"
|
||||
{{on "input" this.setButtonText}}
|
||||
{{on "focus" (fn (mut this.buttonFocused) true)}}
|
||||
{{on "blur" (fn (mut this.buttonFocused) false)}}
|
||||
{{on-key "Enter" (fn this.focusElement "#button-url-input")}}
|
||||
>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue