question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default value for select metadata

See original GitHub issue

All of the metadata configuration fields except select and multiselect have a default value field in the docs. I have a site where select is used for Jekyll blog post categories and all posts have a default category. It would be helpful if I could start the select with the value(s) that I use most frequently, similarly to how the other fields work.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dereklieucommented, Sep 10, 2017

Ah yeah I’ll edit the wiki tomorrow, thanks for the reminder.

1reaction
dereklieucommented, Sep 7, 2017

I looked into this and it’s very straightforward. It’s just a matter of sending a value to the initial render from template. I started a branch here that implements this feature for select elements. Left to do are multiselect elements and some quick unit tests.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Set the default value of a managed metadata field
No information is available for this page.
Read more >
Reference Custom Metadata Type Records in Default Values
Default field values make your users more productive and decrease errors by reducing the number of fields to fill in manually. Reference a...
Read more >
ResultSetMetaData getting default value of column
You can run this query. Select DATA_DEFAULT from USER_TAB_COLUMNS where TABLE_NAME ='MyTable' and COLUMN_NAME = 'MyColumn'.
Read more >
Setting Default Metadata - Colligo
To edit an existing default value, select the value you wish to edit and click Edit (or double-click on the value you wish...
Read more >
'Default Value' set to True/False in Metadata Schema not ...
In Metadata schema we are defining, whether the country in from EMEA region or not by setting a flag in Metadata for each...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found