Skip to content

How to set the initial value of the input tag efficiently #15689

Answered by Jeckerson
s-ohnishi asked this question in Q&A
Discussion options

You must be logged in to vote

Try this one:

{{ text_field(['foo[name]', 'value': 'default value']) }}

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@s-ohnishi
Comment options

@quasipickle
Comment options

@s-ohnishi
Comment options

@quasipickle
Comment options

@s-ohnishi
Comment options

Answer selected by s-ohnishi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants