[Feature] : Add a default value for data
See original GitHub issueAs initialValue only works for server-side rendering, it could be nice to have another prop (ex: defaultDataValue) so that we can controll the initial value of data.
This would improve developer experience with the lib.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Assign Default To Field (Data Management)—ArcGIS Pro
Creates a default value for a specified field. When a new row is added to the table or feature class, the specified field...
Read more >Set default values for fields or controls - Microsoft Support
On the General tab, type a value in the Default Value property box. The value you that you can enter depends on the...
Read more >Adding a field and setting default values yields no result
When using default values with new fields, the default value is only used with new features after the field has been created. In...
Read more >MySQL 8.0 Reference Manual :: 11.6 Data Type Default Values
This means, for example, that you cannot set the default for a date column to be the value of a function such as...
Read more >Specify default column values | BigQuery - Google Cloud
This page describes how to set a default value for a column in a BigQuery table. When you add a row to a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

That’s easily fixed:
Though i really like the solution of @ghengeveld still i kind of agree with OP on this. It would be beneficial to have
defaultValue