Hello future, question it will be possible to use token as default value or use custom text

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Nelo_Drup created an issue. See original summary.

nikita_tt’s picture

Hi. Would you mind providing a real example of what case this feature might be useful?

nelo_drup’s picture

Hello, for example, with the commercial module, if a product was created and that product added variations, but I want the variations to have a title by default, defined since only the sku would be different and also the prices.
Let's say Product Jean Pants
Jean Pant Variation - Blue

This can also help when a user creates a node based on another created node.
in the same form
Let's say Real Estate parent node
Sellers child node

I hope to make myself understood and it is possible and not so complicated because I saw that no module to do that the closest I saw is this

https://www.drupal.org/project/select_text_value

avpaderno’s picture

Category: Feature request » Support request
Issue tags: -Token or value deafult entity form field label drupal 8

I am removing the issue tags wrongly used. I apologize for bumping this issue.

jayhuskins made their first commit to this issue’s fork.

jannakha’s picture

Title: Question Token » Add optional token support
Version: 8.x-1.4 » 2.x-dev
Category: Support request » Feature request
Status: Active » Needs review