Skip to content

Commit

Permalink
Add a readOnly attribute to the <input>
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Burridge <mburridge@users.noreply.github.com>
  • Loading branch information
michalczaplinski and mburridge committed Apr 20, 2022
1 parent f94998a commit d7650b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/post-comments-form/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export default function PostCommentsFormEdit( {
className="submit wp-block-button__link"
label={ __( 'Post Comment' ) }
value={ __( 'Post Comment' ) }
readOnly
/>
</p>
</form>
Expand Down

0 comments on commit d7650b2

Please sign in to comment.